12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- all: DIST/demo1 DIST/web
- clean:
- rm -rf DIST
- DIST:
- mkdir -p DIST
- DIST/demo1: DIST
- cd go;make
- cp go/DIST/* DIST/
- browser/vue-flow/node_modules:
- cd browser/vue-flow; yarn
- DIST/web: DIST browser/vue-flow/node_modules
- mkdir -p DIST/web
- cd browser/vue-flow;yarn build
- cp -r browser/vue-flow/dist/* DIST/web
- DIST/.dockerized: DIST/demo1 DIST/web
- docker build --rm -t hexasoftware.com:5000/flow-proto -f ./docker/Dockerfile .
- touch DIST/.dockerized
- docker: DIST/.dockerized
- push: DIST/.dockerized
- docker push hexasoftware.com:5000/flow-proto
- frontend: DIST/web
- backend: DIST/demo1
- dev: clean backend
- tmux split "DEBUG=1 DIST/demo1;$$SHELL"
- cd browser/vue-flow; yarn dev
- builder:
- git add -A .
- git commit -m "Droning building $$(date)"
- git push builder master
- test:
- make -C go test
- .PHONY: all clean frontend backend builder
|