update makefile
This commit is contained in:
parent
011d1fb121
commit
066ca8b19e
7
Makefile
7
Makefile
|
@ -1,13 +1,16 @@
|
|||
frontend-deps: frontend/node_modules
|
||||
cd frontend && yarn
|
||||
|
||||
build: *.go frontend
|
||||
go build
|
||||
|
||||
frontend:
|
||||
frontend: frontend-deps
|
||||
cd frontend && yarn build --mode development
|
||||
|
||||
frontend-watch:
|
||||
cd frontend && yarn build --watch
|
||||
|
||||
run: *.go
|
||||
./happy -develop
|
||||
go build && ./happy -develop
|
||||
|
||||
.PHONY: run frontend frontend-watch
|
||||
|
|
Loading…
Reference in New Issue