summaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-07-16 09:48:19 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-07-16 09:48:19 +0800
commit6418caf23a623e45978abdd25ed32a29b12ad868 (patch)
treea09af940728d224a29755754df87134b2a705d69 /build.sh
parent9a3e1790a1a9d7b8b172ec6bfa3d9f579a86477a (diff)
downloadgitea-6418caf23a623e45978abdd25ed32a29b12ad868.tar.gz
gitea-6418caf23a623e45978abdd25ed32a29b12ad868.zip
add build script
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000000..0195947d62
--- /dev/null
+++ b/build.sh
@@ -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/