Permalink
Browse files

update build scripts

  • Loading branch information...
Vrtak-CZ committed Sep 11, 2012
1 parent 195d95f commit b0433cc79c9d2a85de59a80f824fce9033b0ce18
Showing with 5 additions and 8 deletions.
  1. +5 −8 before-build.sh
View
@@ -5,21 +5,18 @@
##########
BUILD_TOOLS_REPO="git://github.com/nella/framework-build-tools.git"
+BUILD_TOOLS_DIR="build-tools"
########################
# Download build tools #
########################
-if [ -d "build" ]
+if [ -d "$BUILD_TOOLS_DIR" ]
then
- rm -rf build
+ rm -rf $BUILD_TOOLS_DIR
fi
-####################
-# Move build files #
-####################
-
-mv build/build.sh ./
+git clone $BUILD_TOOLS_REPO $BUILD_TOOLS_DIR
################
# Init vendors #
@@ -38,5 +35,5 @@ then
rm -rf vendor
fi
curl -s http://getcomposer.org/installer | php
-php composer.phar install --dev
+php composer.phar install

0 comments on commit b0433cc

Please sign in to comment.