go-gitea/scripts/build.sh

22 lines
549 B
Bash
Raw Normal View History

2014-07-16 01:48:19 +00:00
rm -rf output
mkdir output
2014-09-12 06:45:38 +00:00
go build ../gogs.go
2014-07-16 01:48:19 +00:00
chmod +x gogs
mv gogs ./output/
2014-09-12 06:45:38 +00:00
cp -r ../conf/ ./output/conf/
cp -r ../custom/ ./output/custom/
2014-07-16 01:48:19 +00:00
cp -r ./dockerfiles/ ./output/dockerfiles/
2014-09-12 06:45:38 +00:00
cp -r ../public/ ./output/public/
cp -r ../templates/ ./output/templates/
cp ../cert.pem ./output/
cp ../CONTRIBUTING.md ./output/
2014-07-16 01:48:19 +00:00
cp gogs_supervisord.sh ./output/
2014-09-12 06:45:38 +00:00
cp ../key.pem ./output/
cp ../LICENSE ./output/
cp ../README.md ./output/
cp ../README_ZH.md ./output/
2014-07-16 01:48:19 +00:00
cp start.bat ./output/
cp start.sh ./output/
2014-09-12 06:45:38 +00:00
cp ../wercker.yml ./output/
cp mysql.sql ./output/