diff options
| author | mo khan <mo@mokhan.ca> | 2025-03-13 16:43:47 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-03-13 16:43:47 -0600 |
| commit | c9f394fe7fa0a5a6504b5b80ae7019cffdf4bb14 (patch) | |
| tree | da1ef1c59264221c2c483ddd76401ee19cd1015c /magefile.go | |
| parent | b55a6617971fa50bb064480f78343e6c0bc59dbe (diff) | |
refactor: extract authz interface to test out different PaC libraries
Diffstat (limited to 'magefile.go')
| -rw-r--r-- | magefile.go | 13 |
1 files changed, 1 insertions, 12 deletions
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", "./...") } |
