Makefile 846 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. all: DIST/flowserver DIST/web
  2. clean:
  3. rm -rf DIST
  4. DIST:
  5. mkdir -p DIST
  6. DIST/flowserver: DIST
  7. cd go;make
  8. cp go/DIST/* DIST/
  9. browser/vue-flow/node_modules:
  10. cd browser/vue-flow; yarn
  11. DIST/web: DIST browser/vue-flow/node_modules
  12. mkdir -p DIST/web
  13. cd browser/vue-flow;yarn build
  14. cp -r browser/vue-flow/dist/* DIST/web
  15. DIST/.dockerized: DIST/flowserver DIST/web
  16. docker build --rm -t hexasoftware.com:5000/flow-proto -f ./docker/Dockerfile .
  17. touch DIST/.dockerized
  18. docker: DIST/.dockerized
  19. push: DIST/.dockerized
  20. docker push hexasoftware.com:5000/flow-proto
  21. frontend: DIST/web
  22. backend: DIST/flowserver
  23. dev: clean backend
  24. tmux split "DEBUG=1 DIST/flowserver"
  25. cd browser/vue-flow; yarn dev
  26. builder:
  27. git add -A .
  28. git commit -m "Droning building $$(date)"
  29. git push builder master
  30. .PHONY: all clean frontend backend builder