12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- all: DIST/demo1
- clean:
- rm -rf DIST
- DIST:
- mkdir -p DIST
- DIST/demo1: DIST update-ui
- cd go;make
- cp go/DIST/* DIST/
- backend: DIST/demo1
- flow-ui/node_modules:
- cd flow-ui; yarn
- frontend: flow-ui/dist
- cd flow-ui;yarn build
- dev: clean backend
- tmux split "DEBUG=1 DIST/demo1;$$SHELL"
- cd flow-ui; yarn dev
- test:
- make -C go test
- # need flow-ui
- generate:
- make -C go generate
- update-ui: frontend
- # Needs folder2go tool
- go get github.com/gohxs/folder2go
- folder2go -nobackup flow-ui/dist flowuiassets go/src/github.com/hexasoftware/flow/flowserver/flowuiassets
- .PHONY: all clean frontend backend builder generate DIST/demo1 update-ui
|