123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- all: DIST/demo1 DIST/web
- clean:
- rm -rf DIST
- DIST:
- mkdir -p DIST
- DIST/demo1: DIST
- cd go;make
- cp go/DIST/* DIST/
- flow-ui/node_modules:
- cd flow-ui; yarn
- DIST/web: DIST flow-ui/node_modules
- mkdir -p DIST/web
- cd flow-ui;yarn build
- cp -r flow-ui/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 flow-ui; yarn dev
- builder:
- git add -A .
- git commit -m "Droning building $$(date)"
- git push builder master
- test:
- make -C go test
- generate:
- make -C go generate
- .PHONY: all clean frontend backend builder generate
|