summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-12 19:47:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-12 19:47:32 +0300
commitc66df86ef0799e4a1a540210dd5f7849331067e3 (patch)
treee019e0e7351324158d2423a7b9b1f25b280f1435 /build
parent4f2de562e813a398edac31cb5c888f39afa9577f (diff)
downloadevol-tools-c66df86ef0799e4a1a540210dd5f7849331067e3.tar.gz
evol-tools-c66df86ef0799e4a1a540210dd5f7849331067e3.tar.bz2
evol-tools-c66df86ef0799e4a1a540210dd5f7849331067e3.tar.xz
evol-tools-c66df86ef0799e4a1a540210dd5f7849331067e3.zip
Add script for build static server binaries.
Diffstat (limited to 'build')
-rwxr-xr-xbuild/server-bin.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/build/server-bin.sh b/build/server-bin.sh
new file mode 100755
index 0000000..f377ff1
--- /dev/null
+++ b/build/server-bin.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+cd ../../server-code
+make clean
+./build.sh static
+
+if [[ $? == 0 ]]; then
+ cp char-server ../server-bin
+ cp login-server ../server-bin
+ cp map-server ../server-bin
+ echo Build success
+else
+ echo Build failed
+fi