happy/Makefile

19 lines
354 B
Makefile
Raw Normal View History

2019-10-29 04:52:11 +00:00
-include env.make
2019-10-28 14:29:39 +00:00
frontend-deps: frontend/node_modules
cd frontend && yarn
2019-10-18 12:46:20 +00:00
build: *.go frontend
go build
2019-10-28 14:29:39 +00:00
frontend: frontend-deps
2019-10-18 12:48:39 +00:00
cd frontend && yarn build --mode development
2019-10-18 12:46:20 +00:00
frontend-watch:
cd frontend && yarn build --watch
2019-10-29 04:52:11 +00:00
run: *.go .EXPORT_ALL_VARIABLES
2019-10-28 14:29:39 +00:00
go build && ./happy -develop
2019-10-18 12:46:20 +00:00
2019-10-29 04:52:11 +00:00
.PHONY: run frontend frontend-watch .EXPORT_ALL_VARIABLES