Skip to content

Commit

Permalink
fixes #18 to pass all args to composer/artisan/phpunit
Browse files Browse the repository at this point in the history
however may be superceded by PR #17
  • Loading branch information
fideloper committed Oct 20, 2017
1 parent 5935dc3 commit d8b9026
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-files/vessel
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ if [ $# -gt 0 ]; then
shift 1
if [ "$EXEC" == "yes" ]; then
$COMPOSE exec app \
sh -c "cd /var/www/html && php artisan $@"
sh -c "cd /var/www/html && php artisan `echo "$@"`"
else
$COMPOSE run --rm \
-w /var/www/html \
Expand All @@ -132,7 +132,7 @@ if [ $# -gt 0 ]; then
shift 1
if [ "$EXEC" == "yes" ]; then
$COMPOSE exec app \
sh -c "cd /var/www/html && composer $@"
sh -c "cd /var/www/html && composer `echo "$@"`"
else
$COMPOSE run --rm \
-w /var/www/html \
Expand All @@ -146,7 +146,7 @@ if [ $# -gt 0 ]; then
shift 1
if [ "$EXEC" == "yes" ]; then
$COMPOSE exec app \
sh -c "cd /var/www/html && ./vendor/bin/phpunit $@"
sh -c "cd /var/www/html && ./vendor/bin/phpunit `echo "$@"`"
else
$COMPOSE run --rm \
-w /var/www/html \
Expand Down

0 comments on commit d8b9026

Please sign in to comment.