Skip to content

Commit

Permalink
rename bin/ to build/
Browse files Browse the repository at this point in the history
  • Loading branch information
eadam-withings committed Jun 17, 2016
1 parent 4a7b2da commit 8c7c649
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions predeploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit 8c7c649

Please sign in to comment.