You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
476 B

  1. echo "starting build process"
  2. rm -rf build
  3. mkdir build
  4. cd webServer
  5. echo "building webServer"
  6. go build
  7. cp webServer ../build
  8. cp -r templates ../build
  9. cd ..
  10. cd listPadsImporter
  11. echo "building listPadsImporter"
  12. go build
  13. cp listPadsImporter ../build
  14. cd ..
  15. cd apiServer
  16. echo "building apiServer"
  17. go build
  18. cp apiServer ../build
  19. cd ..
  20. cd cli
  21. echo "building cli"
  22. go build
  23. cp cli ../build
  24. cd ..
  25. echo "build process complete, all the necessary files are in the /build directory"