update makefile

This commit is contained in:
Chris Sexton 2019-10-28 10:29:39 -04:00
parent 011d1fb121
commit 066ca8b19e
1 changed files with 5 additions and 2 deletions

View File

@ -1,13 +1,16 @@
frontend-deps: frontend/node_modules
cd frontend && yarn
build: *.go frontend build: *.go frontend
go build go build
frontend: frontend: frontend-deps
cd frontend && yarn build --mode development cd frontend && yarn build --mode development
frontend-watch: frontend-watch:
cd frontend && yarn build --watch cd frontend && yarn build --watch
run: *.go run: *.go
./happy -develop go build && ./happy -develop
.PHONY: run frontend frontend-watch .PHONY: run frontend frontend-watch