Created
May 6, 2019 10:16
-
-
Save jamesmills/f9670c2d47afb1c8810323f2b9131eea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
THIS := $(realpath $(lastword $(MAKEFILE_LIST))) | |
HERE := $(shell dirname $(THIS)) | |
.PHONY: fix lint test | |
fix: | |
$(HERE)/vendor/bin/php-cs-fixer fix --config=$(HERE)/.php_cs | |
lint: | |
$(HERE)/vendor/bin/php-cs-fixer fix --config=$(HERE)/.php_cs --dry-run | |
test: lint |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment