build.sh 549 B

123456789101112131415161718192021
  1. rm -rf output
  2. mkdir output
  3. go build ../gogs.go
  4. chmod +x gogs
  5. mv gogs ./output/
  6. cp -r ../conf/ ./output/conf/
  7. cp -r ../custom/ ./output/custom/
  8. cp -r ./dockerfiles/ ./output/dockerfiles/
  9. cp -r ../public/ ./output/public/
  10. cp -r ../templates/ ./output/templates/
  11. cp ../cert.pem ./output/
  12. cp ../CONTRIBUTING.md ./output/
  13. cp gogs_supervisord.sh ./output/
  14. cp ../key.pem ./output/
  15. cp ../LICENSE ./output/
  16. cp ../README.md ./output/
  17. cp ../README_ZH.md ./output/
  18. cp start.bat ./output/
  19. cp start.sh ./output/
  20. cp ../wercker.yml ./output/
  21. cp mysql.sql ./output/