all: DIST/demo1 clean: rm -rf DIST DIST: mkdir -p DIST DIST/demo1: DIST update-ui cd go;make cp go/DIST/* DIST/ flow-ui/node_modules: cd flow-ui; yarn flow-ui/dist: flow-ui/node_modules cd flow-ui;yarn build backend: DIST/demo1 frontend: flow-ui/dist 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