Add build make target

This commit is contained in:
Miguel de la Cruz 2021-09-13 15:25:01 +02:00
parent f280c0701f
commit 9c79f08c96
2 changed files with 10 additions and 1 deletions

View file

@ -14,3 +14,12 @@ test:
.PHONY: watch
watch:
modd
.PHONY: clean
clean:
rm -rf server/craban server/web/static/*
.PHONY: build
build: clean
cd webapp && npm run build
cd server && go build -v -race ./cmd/craban