Skip to content

Commit

Permalink
Fix: Let build target be the first target (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz authored Dec 20, 2020
1 parent 8c7f62c commit 36374ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.PHONY: build
build: cs test static ## Runs test targets

.PHONY: help
help:
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

.PHONY: build
build: cs test static ## Runs test targets

.PHONY: cs
cs: vendor/autoload.php ## Fixes coding standard issues with php-cs-fixer
vendor/bin/php-cs-fixer fix --diff --diff-format=udiff --verbose
Expand Down

0 comments on commit 36374ff

Please sign in to comment.