Skip to content

Commit f0307a0

Browse files
committed
Fix PHONY for tests task, add examples task
1 parent 4ec2ec7 commit f0307a0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Makefile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ composer-update:
2222
.PHONY: composer-update
2323

2424
tests: composer-validate test-php-7.1 test-php-7.2 test-php-7.3 test-php-7.4 test-php-8.0 phpstan
25-
.PHONY: test
25+
.PHONY: tests
2626

2727
INTEGRATION_WORKER_DIR = ./tests/Integration/Workers
2828

@@ -95,4 +95,10 @@ test-php-8.0: dcdown make-integration-workers-accessible
9595

9696
phpstan:
9797
docker-compose run --rm phpstan
98-
.PHONY: phpstan
98+
.PHONY: phpstan
99+
100+
examples: dcdown
101+
docker-compose up -d --force-recreate php80
102+
docker-compose exec -T php80 php $(PHP_OPTIONS) bin/examples.php
103+
.PHONY: examples
104+

0 commit comments

Comments
 (0)