fix the makefile

This commit is contained in:
ngn 2024-07-24 01:19:01 +03:00
parent 6400f1fa95
commit e948701d27

View File

@ -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 .