12345678910111213141516171819202122232425262728293031323334353637 |
- all: DIST/{{.binary}}
- clean:
- rm -rf DIST
- DIST:
- mkdir -p DIST
- DIST/{{.binary}}: DIST
- cd go;make
- cp go/DIST/* DIST/
- frontend/node_modules:
- cd frontend; yarn
- frontend/dist: flow-ui/node_modules
- cd frontend; yarn build
- backend: DIST/{{.binary}}
- frontend: {{.frontend}}/dist
- dev: clean backend
- tmux split "DEBUG=1 DIST/{{.binary}};$$SHELL"
- cd frontend; yarn dev
- test:
- make -C go test
- generate:
- make -C go generate
- .PHONY: all clean frontend backend builder generate DIST/{{.binary}}
|