From 78f00643471521b05bc20e0926d979984eefe024 Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Sun, 16 Oct 2016 21:19:29 +1000 Subject: [PATCH] build: Fix script, add config and motd files --- build.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) mode change 100644 => 100755 build.sh diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 index 50a640bf..6241148b --- a/build.sh +++ b/build.sh @@ -1,4 +1,4 @@ -!#/usr/bin/env sh +#!/usr/bin/env sh # release build script # to be run inside the Oragono dir @@ -7,9 +7,10 @@ rm -rf ./build/win/ mkdir -p ./build/win/docs/ GOOS=windows GOATCH=amd64 go build oragono.go -mv oragono ./build/win/ +mv oragono.exe ./build/win/ cp LICENSE ./build/win/ +cp oragono.yaml oragono.motd ./build/win cp ./docs/README ./build/win/ cp ./docs/CHANGELOG.md ./build/win/ cp ./docs/logo* ./build/win/docs @@ -22,10 +23,11 @@ popd rm -rf ./build/osx/ mkdir -p ./build/osx/docs/ -GOOS=osx GOATCH=amd64 go build oragono.go +GOOS=darwin GOATCH=amd64 go build oragono.go mv oragono ./build/osx/ cp LICENSE ./build/osx/ +cp oragono.yaml oragono.motd ./build/osx cp ./docs/README ./build/osx/ cp ./docs/CHANGELOG.md ./build/osx/ cp ./docs/logo* ./build/osx/docs @@ -42,6 +44,7 @@ GOOS=linux GOATCH=amd64 go build oragono.go mv oragono ./build/linux/ cp LICENSE ./build/linux/ +cp oragono.yaml oragono.motd ./build/linux cp ./docs/README ./build/linux/ cp ./docs/CHANGELOG.md ./build/linux/ cp ./docs/logo* ./build/linux/docs