bench-forgejo/scripts/build.sh

22 lines
549 B
Bash
Raw Normal View History

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