summaryrefslogtreecommitdiff
path: root/localserver
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-23 19:25:33 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-23 19:25:33 +0300
commitb46da2bec2c96f85727f67cbd100f5552aa71cb5 (patch)
tree8f7dd433a6e410e14c07fdfab426545e10e74917 /localserver
parent121f8574a097ba608327c294c81f40eb73273570 (diff)
downloadevol-tools-b46da2bec2c96f85727f67cbd100f5552aa71cb5.tar.gz
evol-tools-b46da2bec2c96f85727f67cbd100f5552aa71cb5.tar.bz2
evol-tools-b46da2bec2c96f85727f67cbd100f5552aa71cb5.tar.xz
evol-tools-b46da2bec2c96f85727f67cbd100f5552aa71cb5.zip
localserver: add script for clean from old build files.
Diffstat (limited to 'localserver')
-rwxr-xr-xlocalserver/build.sh5
-rwxr-xr-xlocalserver/buildasan.sh5
-rwxr-xr-xlocalserver/clean.sh6
3 files changed, 8 insertions, 8 deletions
diff --git a/localserver/build.sh b/localserver/build.sh
index a756441..497bf9d 100755
--- a/localserver/build.sh
+++ b/localserver/build.sh
@@ -1,8 +1,5 @@
#!/bin/bash
export DIR=`pwd`
-rm -rf ../../server-plugin/build/
-mkdir ../../server-plugin/build/
-cd ${DIR}/../../server-code/
-make clean
+./clean.sh
./build.sh old
diff --git a/localserver/buildasan.sh b/localserver/buildasan.sh
index 08332b9..cc34b09 100755
--- a/localserver/buildasan.sh
+++ b/localserver/buildasan.sh
@@ -1,8 +1,5 @@
#!/bin/bash
export DIR=`pwd`
-rm -rf ../../server-plugin/build/
-mkdir ../../server-plugin/build/
-cd ${DIR}/../../server-code/
-make clean
+./clean.sh
./build.sh
diff --git a/localserver/clean.sh b/localserver/clean.sh
new file mode 100755
index 0000000..54bc805
--- /dev/null
+++ b/localserver/clean.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+rm -rf ../../server-plugin/build/
+mkdir ../../server-plugin/build/
+cd ../../server-code/
+make clean