summaryrefslogtreecommitdiff
path: root/magefile.go
diff options
context:
space:
mode:
Diffstat (limited to 'magefile.go')
-rw-r--r--magefile.go15
1 files changed, 1 insertions, 14 deletions
diff --git a/magefile.go b/magefile.go
index 06dc0251..49cd4c87 100644
--- a/magefile.go
+++ b/magefile.go
@@ -24,19 +24,6 @@ func Authzd() error {
return sh.RunWithV(env, "go", "run", "./cmd/authzd/main.go")
}
-// Start NATS server
-func Nats() error {
- return sh.RunV(
- "nats-server",
- "--addr=127.0.0.1",
- "--port=4222",
- "--http_port=8222",
- "--pid=tmp/pids/nats.pid",
- "--jetstream",
- "--store_dir=tmp/nats/store",
- )
-}
-
// Generate gRPC from protocal buffers
func Protos() error {
for _, file := range x.Must(filepath.Glob("./protos/*.proto")) {
@@ -56,7 +43,7 @@ func Protos() error {
// Run All the servers
func Servers(ctx context.Context) {
- mg.CtxDeps(ctx, Nats, Authzd)
+ mg.CtxDeps(ctx, Authzd)
}
// Run the end to end tests