From c9f394fe7fa0a5a6504b5b80ae7019cffdf4bb14 Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 13 Mar 2025 16:43:47 -0600 Subject: refactor: extract authz interface to test out different PaC libraries --- magefile.go | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'magefile.go') diff --git a/magefile.go b/magefile.go index 92d071da..ec6dac14 100644 --- a/magefile.go +++ b/magefile.go @@ -6,7 +6,6 @@ package main import ( "context" "path/filepath" - "runtime" "github.com/magefile/mage/mg" "github.com/magefile/mage/sh" @@ -56,16 +55,6 @@ func Api() error { return sh.RunWithV(env, "ruby", "./bin/api") } -// Open a web browser to the login page -func Browser() error { - url := "http://localhost:8080/ui/sessions/new" - if runtime.GOOS == "linux" { - return sh.RunV("xdg-open", url) - } else { - return sh.RunV("open", url) - } -} - // Generate gRPC from protocal buffers func Protos() error { outDir := "lib/authx/rpc" @@ -94,5 +83,5 @@ func Test(ctx context.Context) error { mg.CtxDeps(ctx, func() error { return sh.RunV("go", "clean", "-testcache") }) - return sh.RunV("go", "test", "-v", "./...") + return sh.RunV("go", "test", "-shuffle=on", "-v", "./...") } -- cgit v1.2.3