forked from akeneo/nelson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
22 lines (19 loc) · 959 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.PHONY: cs-fix
cs-fix:
docker-compose run --rm php vendor/bin/php-cs-fixer --config=.php_cs.php fix src
docker-compose run --rm php vendor/bin/php-cs-fixer --config=.php_cs.php fix tests
.PHONY: all-tests
all-tests:
docker-compose run --rm php vendor/bin/php-cs-fixer --config=.php_cs.php fix src --dry-run --diff
docker-compose run --rm php vendor/bin/php-cs-fixer --config=.php_cs.php fix tests --dry-run --diff
docker-compose run --rm php vendor/bin/phpstan analyse -c phpstan-deprecations.neon --level 1
docker-compose run --rm php vendor/bin/phpspec run
docker-compose run --rm php vendor/bin/simple-phpunit
dev:
cp -n docker-compose.ssh-auth-sock.yml docker-compose.override.yml
cp -n slack_wrapper.cfg.example slack_wrapper.cfg
docker-compose run --rm php composer install
prod:
cp -n docker-compose.ssh-keys.yml docker-compose.override.yml
cp -n slack_wrapper.cfg.example slack_wrapper.cfg
docker-compose run --rm php composer install