From b46da2bec2c96f85727f67cbd100f5552aa71cb5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 23 Jun 2016 19:25:33 +0300 Subject: localserver: add script for clean from old build files. --- localserver/build.sh | 5 +---- localserver/buildasan.sh | 5 +---- localserver/clean.sh | 6 ++++++ 3 files changed, 8 insertions(+), 8 deletions(-) create mode 100755 localserver/clean.sh 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 -- cgit v1.2.3-70-g09d2