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

build_linux64.sh 705 B

11 years ago
12345678910111213141516171819202122232425262728
  1. #!/usr/bin/env bash
  2. outPlattform=linux
  3. outArch=amd64
  4. outPath=./output_$outPlattform_$outArch
  5. rm -rf $outPath
  6. mkdir $outPath
  7. CGO_ENABLED=0 GOOS=$outPlattform GOARCH=$outArch go build ../main.go -o gitea
  8. chmod +x gogs
  9. mv gogs $outPath/
  10. cp -r ../conf/ $outPath/conf/
  11. cp -r ../custom/ $outPath/custom/
  12. cp -r dockerfiles/ $outPath/dockerfiles/
  13. cp -r ../public/ $outPath/public/
  14. cp -r ../templates/ $outPath/templates/
  15. cp ../cert.pem $outPath/
  16. cp ../CONTRIBUTING.md $outPath/
  17. cp gogs_supervisord.sh $outPath/
  18. cp ../key.pem $outPath/
  19. cp ../LICENSE $outPath/
  20. cp ../README.md $outPath/
  21. cp ../README_ZH.md $outPath/
  22. cp start.bat $outPath/
  23. cp start.sh $outPath/
  24. cp ../wercker.yml $outPath/
  25. cp mysql.sql $outPath/