summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-12 22:09:40 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-12 22:09:40 +0300
commitd4a9e360994135b2dc490a472feab6bd5da363af (patch)
tree152153f1674b5e11a5fb4ff81230183fbebfa56c /build
parentc66df86ef0799e4a1a540210dd5f7849331067e3 (diff)
downloadevol-tools-d4a9e360994135b2dc490a472feab6bd5da363af.tar.gz
evol-tools-d4a9e360994135b2dc490a472feab6bd5da363af.tar.bz2
evol-tools-d4a9e360994135b2dc490a472feab6bd5da363af.tar.xz
evol-tools-d4a9e360994135b2dc490a472feab6bd5da363af.zip
server-bin: build also hercules-plugin.
Diffstat (limited to 'build')
-rwxr-xr-xbuild/server-bin.sh18
1 files changed, 15 insertions, 3 deletions
diff --git a/build/server-bin.sh b/build/server-bin.sh
index f377ff1..160b7e3 100755
--- a/build/server-bin.sh
+++ b/build/server-bin.sh
@@ -5,9 +5,21 @@ make clean
./build.sh static
if [[ $? == 0 ]]; then
- cp char-server ../server-bin
- cp login-server ../server-bin
- cp map-server ../server-bin
+ cp -f char-server ../server-bin
+ cp -f login-server ../server-bin
+ cp -f map-server ../server-bin
+else
+ echo Build failed
+ exit 1
+fi
+
+cd src/evol
+make clean
+./build.sh
+
+if [[ $? == 0 ]]; then
+ mkdir ../../../server-local/plugins
+ cp -f build/src/.libs/*.so ../../../server-local/plugins
echo Build success
else
echo Build failed