We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df4ceea commit 131670dCopy full SHA for 131670d
Makefile
@@ -0,0 +1,41 @@
1
+### Variables
2
+
3
+# Applications
4
+COMPOSER ?= composer
5
6
+### Helpers
7
+all: clean depend
8
9
+.PHONY: all
10
11
+### Dependencies
12
+depend:
13
+ ${COMPOSER} install --no-progress --optimize-autoloader
14
15
+.PHONY: depend
16
17
+### Cleaning
18
+clean:
19
+ rm -rf vendor
20
21
+git-master:
22
+ git checkout master
23
24
+.PHONY: clean git-master
25
26
+### QA
27
+qa: lint
28
29
+lint:
30
+ find ./src -name "*.php" -exec /usr/bin/env php -l {} \; | grep "Parse error" > /dev/null && exit 1 || exit 0
31
32
+.PHONY: qa lint
33
34
+### Testing
35
+tests:
36
+ php vendor/bin/phpunit -v --colors --coverage-text
37
38
+tests-report:
39
+ php vendor/bin/phpunit -v --colors --coverage-html ./build/tests
40
41
+.PHONY: tests tests-report
0 commit comments