1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- all: DIST/demo1
- clean:
- rm -rf DIST
- DIST:
- mkdir -p DIST
- DIST/demo1: DIST
- 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
- builder:
- git add -A .
- git commit -m "Droning building $$(date)"
- git push builder master
- 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
|