-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into coding-standard
- Loading branch information
Showing
4 changed files
with
32 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,14 @@ | ||
sniff: | ||
vendor/bin/phpcs | ||
docker-compose run --rm php vendor/bin/phpcs | ||
|
||
phpunit: | ||
vendor/bin/phpunit | ||
docker-compose run --rm php vendor/bin/phpunit | ||
|
||
coverage: | ||
vendor/bin/phpunit --coverage-html ./.coverage | ||
|
||
MKDOCS := $(shell mkdocs -V) | ||
docker-compose run --rm php vendor/bin/phpunit --coverage-html ./.coverage | ||
|
||
mkdocs: | ||
ifndef MKDOCS | ||
pip install mkdocs | ||
endif | ||
mkdocs build --clean | ||
|
||
SAMI := $(shell vendor/bin/sami.php -V) | ||
docker-compose run --rm mkdocs mkdocs build --clean | ||
|
||
mkapi: | ||
ifdef SAMI | ||
vendor/bin/sami.php update sami.php; exit 0 | ||
endif | ||
docker-compose run --rm php vendor/bin/sami.php update sami.php |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
version: '3' |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
version: '3' | ||
|
||
services: | ||
php: | ||
image: leroymerlinbr/php | ||
depends_on: | ||
- db | ||
volumes: | ||
- .:/var/www/html | ||
|
||
db: | ||
image: mongo:4.0 | ||
command: mongod --smallfiles | ||
volumes: | ||
- db:/data/db | ||
- .:/var/www/html | ||
|
||
mkdocs: | ||
image: polinux/mkdocs | ||
volumes: | ||
- .:/workdir/mkdocs | ||
|
||
volumes: | ||
db: | ||
driver: local |
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