diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-12 19:47:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-12 19:47:32 +0300 |
commit | c66df86ef0799e4a1a540210dd5f7849331067e3 (patch) | |
tree | e019e0e7351324158d2423a7b9b1f25b280f1435 /build/server-bin.sh | |
parent | 4f2de562e813a398edac31cb5c888f39afa9577f (diff) | |
download | evol-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/server-bin.sh')
-rwxr-xr-x | build/server-bin.sh | 14 |
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 |