Skip to content

Commit

Permalink
installing assets in debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sumkincpp committed Feb 27, 2013
1 parent 3a65826 commit f5baf0f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,13 @@ echo "-----> Installing assets"
export SF_DEBUG="--no-debug"
export SF_ENV="prod"
# Deploying assets
LD_LIBRARY_PATH="${BUILD_DIR}/local/lib" ${BUILD_DIR}/vendor/php/bin/php app/console assets:install web --env=${SF_ENV}
LD_LIBRARY_PATH="${BUILD_DIR}/local/lib" ${BUILD_DIR}/vendor/php/bin/php app/console assetic:dump ${SF_DEBUG} --env=${SF_ENV}
# Deploying assets - for some reason cd is neccesary
cd ${BUILD_DIR}
echo "-------> Running: app/console assets:install --env=${SF_ENV}"
LD_LIBRARY_PATH="${BUILD_DIR}/local/lib" ${BUILD_DIR}/vendor/php/bin/php ${BUILD_DIR}/app/console assets:install
echo "-------> Running: app/console assetic:dump ${SF_DEBUG} --env=${SF_ENV}"
LD_LIBRARY_PATH="${BUILD_DIR}/local/lib" ${BUILD_DIR}/vendor/php/bin/php ${BUILD_DIR}/app/console assetic:dump
echo "-----> Installing boot script"
cd $BUILD_DIR
Expand Down

0 comments on commit f5baf0f

Please sign in to comment.