-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce a Makefile for easy command execution
- Loading branch information
1 parent
46903d2
commit 53f51cd
Showing
5 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.DS_Store | ||
.php-cs-fixer.cache | ||
.phpunit.result.cache | ||
.vscode | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.PHONY: * | ||
|
||
build: | ||
composer install | ||
|
||
# Roll-up all of the test commands | ||
test: unit-tests standards | ||
|
||
# Check coding standards with PHP-CS-Fixer | ||
standards: | ||
vendor/bin/php-cs-fixer fix --dry-run --verbose | ||
|
||
# Execute the PHPUnit test suite | ||
unit-tests: | ||
vendor/bin/phpunit --testdox --colors=always |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,7 @@ | |
"archive": { | ||
"exclude": [ | ||
".*", | ||
"Makefile", | ||
"phpunit.xml.dist", | ||
"tests" | ||
] | ||
|