diff --git a/api/Makefile b/api/Makefile index ff72694..8c5137c 100644 --- a/api/Makefile +++ b/api/Makefile @@ -1,10 +1,10 @@ all: server -server: *.go routes/* util/* global/* database/* - go build -o server . +server: *.go routes/*.go util/*.go global/*.go database/*.go + go build -o $@ . test: - FRONTEND_URL=http://localhost:5173/ PASSWORD=test ./server + FRONTEND_URL=http://localhost:5173/ PASSWORD=test ./server format: gofmt -s -w .