-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
13 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
|
||
# Set up the default (i.e. - first) make entry. | ||
test: | ||
docker-compose run --rm php bash -c "./run-tests.sh" | ||
docker compose run --rm php bash -c "./run-tests.sh" | ||
|
||
bash: | ||
docker-compose run --rm php bash | ||
docker compose run --rm php bash | ||
|
||
behatappend: | ||
docker-compose run --rm php bash -c "vendor/bin/behat --append-snippets" | ||
docker compose run --rm php bash -c "vendor/bin/behat --append-snippets" | ||
|
||
behatv: | ||
docker-compose run --rm php bash -c "vendor/bin/behat -v --stop-on-failure" | ||
docker compose run --rm php bash -c "vendor/bin/behat -v --stop-on-failure" | ||
|
||
clean: | ||
docker-compose kill | ||
docker-compose rm -f | ||
docker compose kill | ||
docker compose rm -f | ||
|
||
composer: | ||
docker-compose run --rm php bash -c "composer install --no-scripts --no-plugins" | ||
docker compose run --rm php bash -c "composer install --no-scripts --no-plugins" | ||
|
||
# Example: `make composerrequire NAME=monolog/monolog` | ||
composerrequire: | ||
docker-compose run --rm php bash -c "composer require $(NAME) --no-scripts --no-plugins" | ||
docker compose run --rm php bash -c "composer require $(NAME) --no-scripts --no-plugins" | ||
|
||
composerupdate: | ||
docker-compose run --rm php bash -c "composer update --no-scripts" | ||
docker compose run --rm php bash -c "composer update --no-scripts" | ||
|
||
ps: | ||
docker-compose ps | ||
docker compose ps |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
version: "2" | ||
|
||
services: | ||
|
||
php: | ||
image: silintl/php8:8.1 | ||
volumes: | ||
- ./:/data | ||
extra_hosts: | ||
- "trusted_host.org:10.0.1.1" | ||
- "untrusted_host.org:22.0.1.1" | ||
- "trusted_host.org:10.0.1.1" | ||
- "untrusted_host.org:22.0.1.1" | ||
working_dir: /data |