added Makefile variable port

This commit is contained in:
2025-02-24 12:32:02 -05:00
parent 5535b034ec
commit 9626426455
4 changed files with 46 additions and 25 deletions
+4 -2
View File
@@ -1,10 +1,12 @@
PORT=15521
.PHONY: run-batched run-sqlite setup-sqlite
run-batched:
cd batched-server && go run main.go
cd batched-server && go run main.go $(PORT)
run-sqlite: setup-sqlite
cd sqlite-server && go run main.go
cd sqlite-server && go run main.go $(PORT)
setup-sqlite:
@if [ ! -f sqlite-server/go.mod ]; then \