From 624cc60625045afdf4bd4bac4b7e97aa1c93b5ae Mon Sep 17 00:00:00 2001 From: mo khan Date: Wed, 21 May 2025 16:44:04 -0600 Subject: chore: remove nats --- magefile.go | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'magefile.go') 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 -- cgit v1.2.3