Skip to content

Commit

Permalink
Prefer Make targets over bash scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
erkannt committed Jan 15, 2025
1 parent 311086e commit 593bd9b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ test: bring-up-app-and-queue-watcher
docker compose exec app vendor/bin/phpunit $(TEST)

.PHONY: all-checks
all-checks: bring-up-app-without-queue-watcher
all-checks: bring-up-app-without-queue-watcher static-analysis test
docker compose exec app bash project_tests.sh

.PHONY: stop
Expand Down
5 changes: 0 additions & 5 deletions project_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ function cleanup {
}
trap cleanup EXIT

vendor/bin/phpcs --standard=phpcs.xml.dist --warning-severity=0 -p src/ tests/ web/
vendor/bin/composer-dependency-analyser
vendor/bin/phpstan analyse
vendor/bin/phpunit

echo "Creating, deleting an index"
bin/ci-lifecycle

Expand Down

0 comments on commit 593bd9b

Please sign in to comment.