summaryrefslogtreecommitdiff
path: root/magefile.go
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-05-21 16:44:04 -0600
committermo khan <mo@mokhan.ca>2025-05-21 16:44:04 -0600
commit624cc60625045afdf4bd4bac4b7e97aa1c93b5ae (patch)
tree4ff65b3e55e08ccaafc49d49dd27a6f9ae1dc5d9 /magefile.go
parent92fc3114fc19a6b1b7771a29c52355924d463d77 (diff)
chore: remove nats
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