Files
library/Makefile
David Ashby 95b4fc1802
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
remove tui, unused
2025-06-04 22:04:51 -04:00

28 lines
441 B
Makefile

.PHONY: up down run test
GOFILES=$(shell find . -name '*.go' -o -name 'go.*')
STATICFILES=$(shell find . -name '*.js' -o -name '*.css' -o -name '*.html')
ifneq (,$(wildcard ./local.properties))
include local.properties
export
endif
build: server
run: build
./server
server: $(GOFILES) $(STATICFILES)
go build -o server ./cmd/serve
test:
go test ./... -cover
# dev dependencies
up:
docker-compose up -d
down:
docker-compose down