cabinet/Makefile

19 lines
354 B
Makefile

-include env.make
frontend-deps: frontend/node_modules
cd frontend && yarn
build: *.go frontend
go build
frontend: frontend-deps
cd frontend && yarn build --mode development
frontend-watch:
cd frontend && yarn build --watch
run: *.go .EXPORT_ALL_VARIABLES
go build && ./happy -develop
.PHONY: run frontend frontend-watch .EXPORT_ALL_VARIABLES