Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Reorder hooks to line up with PB V2 semantics
Browse files Browse the repository at this point in the history
Signed-off-by: Max Fierke <[email protected]>
  • Loading branch information
maxfierke committed Feb 15, 2015
1 parent cb3c315 commit 6f09f0d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Boxfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ web1:
php_session_autostart: "0"
php_date_timezone: America/Chicago

after_exec:
before_exec:
- "rm -rf vendor/"
- "cp app/config/parameters.yml.pagoda app/config/parameters.yml"
- "curl -s http://getcomposer.org/installer | php -- --quiet; php composer.phar install -n --prefer-source --optimize-autoloader --no-progress"

exec:
- "composer install -n --prefer-source --optimize-autoloader --no-progress"

before_deploy:
- "php app/console --env=prod --no-debug doctrine:migrations:migrate -n -v"
Expand Down Expand Up @@ -63,10 +65,12 @@ worker1:
php_session_autostart: "0"
php_date_timezone: America/Chicago

after_exec:
before_exec:
- "rm -rf vendor/"
- "cp app/config/parameters.yml.pagoda app/config/parameters.yml"
- "curl -s http://getcomposer.org/installer | php -- --quiet; php composer.phar install -n --prefer-source --optimize-autoloader --no-progress"

exec:
- "composer install -n --prefer-source --optimize-autoloader --no-progress"

global:
env:
Expand Down

0 comments on commit 6f09f0d

Please sign in to comment.