add build script
This commit is contained in:
parent
9a3e1790a1
commit
6418caf23a
4 changed files with 46 additions and 1 deletions
22
build.sh
Executable file
22
build.sh
Executable file
|
@ -0,0 +1,22 @@
|
|||
rm -rf output
|
||||
mkdir output
|
||||
go build
|
||||
chmod +x gogs
|
||||
mv gogs ./output/
|
||||
cp -r ./conf/ ./output/conf/
|
||||
cp -r ./custom/ ./output/custom/
|
||||
cp -r ./dockerfiles/ ./output/dockerfiles/
|
||||
cp -r ./public/ ./output/public/
|
||||
cp -r ./templates/ ./output/templates/
|
||||
cp bee.json ./output/
|
||||
cp cert.pem ./output/
|
||||
cp CONTRIBUTING.md ./output/
|
||||
cp gogs_supervisord.sh ./output/
|
||||
cp key.pem ./output/
|
||||
cp LICENSE ./output/
|
||||
cp README.md ./output/
|
||||
cp README_ZH.md ./output/
|
||||
cp rpp.ini ./output/
|
||||
cp start.bat ./output/
|
||||
cp start.sh ./output/
|
||||
cp wercker.yml ./output/
|
Loading…
Add table
Add a link
Reference in a new issue