summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatthieuCoder <matthieu@matthieu-dev.xyz>2023-01-13 22:35:46 +0400
committerMatthieuCoder <matthieu@matthieu-dev.xyz>2023-01-13 22:35:46 +0400
commit4b55d5ff172f87bfa38ef2a21aceed40aacf9c54 (patch)
tree2e2dfe5290de4036299c786d851967bc23de548f /Makefile
parentb1e17001e3fce2874e4bb1354196c90a5fd7acd0 (diff)
fix build and code cleanup
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5008c89..f9352c6 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,17 @@ internal/pkg/all-in-one/all-in-one.h: build/lib/liball_in_one.a
build/bin/nova: build/lib/liball_in_one.a internal/pkg/all-in-one/all-in-one.h
go build -a -ldflags '-s' -o build/bin/nova cmd/nova/nova.go
-all: build/{lib,bin}/nova
+all: build/bin/{cache,gateway,ratelimit,rest,webhook} build/bin/nova
-.PHONY: all \ No newline at end of file
+docker-images:
+ docker-compose build
+
+docker-push:
+ docker-compose push
+
+rust-test:
+ cargo test
+
+test: rust-test
+
+.PHONY: all docker-images docker-push test rust-test