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
|
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
|
||||||
|
|
Loading…
Reference in New Issue