0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-28 18:34:10 -05:00
forgejo/scripts/build.sh

22 lines
549 B
Bash
Raw Normal View History

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