@@ -3,31 +3,31 @@ help: ## Display help information
3
3
4
4
build : # # Build an image from a docker-compose file. Params: {{ v=5.6 }}. Default latest PHP 5.6
5
5
@cp -n .env.example .env
6
- PHP_VERSION=$(filter-out $@ ,$(v ) ) docker- compose up -d --build
6
+ PHP_VERSION=$(filter-out $@ ,$(v ) ) docker compose up -d --build
7
7
8
8
test : # # Run tests. Params: {{ v=5.6 }}. Default latest PHP 5.6
9
- PHP_VERSION=$(filter-out $@ ,$(v ) ) docker- compose build --pull yii2-queue-php
10
- PHP_VERSION=$(filter-out $@ ,$(v ) ) docker- compose run yii2-queue-php vendor/bin/phpunit --colors=always -v --debug
9
+ PHP_VERSION=$(filter-out $@ ,$(v ) ) docker compose build --pull yii2-queue-php
10
+ PHP_VERSION=$(filter-out $@ ,$(v ) ) docker compose run yii2-queue-php vendor/bin/phpunit --colors=always -v --debug
11
11
make down
12
12
13
13
down : # # Stop and remove containers, networks
14
- docker- compose down
14
+ docker compose down
15
15
16
16
benchmark : # # Run benchmark. Params: {{ v=5.6 }}. Default latest PHP 5.6
17
- PHP_VERSION=$(filter-out $@ ,$(v ) ) docker- compose build --pull yii2-queue-php
18
- PHP_VERSION=$(filter-out $@ ,$(v ) ) docker- compose run yii2-queue-php tests/yii benchmark/waiting
17
+ PHP_VERSION=$(filter-out $@ ,$(v ) ) docker compose build --pull yii2-queue-php
18
+ PHP_VERSION=$(filter-out $@ ,$(v ) ) docker compose run yii2-queue-php tests/yii benchmark/waiting
19
19
make down
20
20
21
21
sh : # # Enter the container with the application
22
22
docker exec -it yii2-queue-php bash
23
23
24
24
check-cs :
25
- docker- compose build php72
26
- docker- compose run php72 php-cs-fixer fix --diff --dry-run
27
- docker- compose down
25
+ docker compose build php72
26
+ docker compose run php72 php-cs-fixer fix --diff --dry-run
27
+ docker compose down
28
28
29
29
clean :
30
- docker- compose down
30
+ docker compose down
31
31
rm -rf tests/runtime/*
32
32
rm -f .php_cs.cache
33
33
rm -rf composer.lock
0 commit comments