summaryrefslogtreecommitdiff
path: root/magefile.go
diff options
context:
space:
mode:
Diffstat (limited to 'magefile.go')
-rw-r--r--magefile.go13
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", "./...")
}