From 8c7c6492988f5c3fb850e75b9fdc1d2c0eb8ecf6 Mon Sep 17 00:00:00 2001 From: Etienne Adam Date: Fri, 17 Jun 2016 13:48:20 +0200 Subject: [PATCH] rename bin/ to build/ --- predeploy.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/predeploy.sh b/predeploy.sh index b902087..7be5a31 100644 --- a/predeploy.sh +++ b/predeploy.sh @@ -21,13 +21,11 @@ BUILD_PATH=/home/$BUILD_USER/disque-$ENVIRONMENT #ssh $BUILD_USER@$BUILD_SERVER 'sudo apt-get install -y libjemalloc-dev' -rm -rf bin - -rsync -az --delete --exclude="bin/" ./ $BUILD_USER@$BUILD_SERVER:$BUILD_PATH/ +rsync -az --delete --exclude="build/" ./ $BUILD_USER@$BUILD_SERVER:$BUILD_PATH/ ssh $BUILD_USER@$BUILD_SERVER "cd $BUILD_PATH; make distclean && make" -mkdir -p bin +mkdir -p build -scp $BUILD_USER@$BUILD_SERVER:$BUILD_PATH/src/disque bin/ -scp $BUILD_USER@$BUILD_SERVER:$BUILD_PATH/src/disque-server bin/ +scp $BUILD_USER@$BUILD_SERVER:$BUILD_PATH/src/disque build/ +scp $BUILD_USER@$BUILD_SERVER:$BUILD_PATH/src/disque-server build/