cabinet/Makefile

19 lines
356 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 && ./cabinet -develop
.PHONY: run frontend frontend-watch .EXPORT_ALL_VARIABLES