cabinet/Makefile

19 lines
356 B
Makefile
Raw Permalink Normal View History

2019-10-30 15:31:07 +00:00
-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
2019-10-31 15:14:11 +00:00
go build && ./cabinet -develop
2019-10-30 15:31:07 +00:00
.PHONY: run frontend frontend-watch .EXPORT_ALL_VARIABLES