File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,12 @@ test: vendor cs deptrac phpunit infection
27
27
test-min : update-min cs deptrac phpunit infection
28
28
.PHONY : test-min
29
29
30
+ ifeq ($(IS_PHP8 ) ,1)
31
+ test-package :
32
+ else
30
33
test-package : package test-package-tools
31
34
cd tests/phar && ./tools/phpunit
35
+ endif
32
36
.PHONY : test-package
33
37
34
38
77
81
find tests/phar/tools -not -path ' */\.*' -type f -delete
78
82
.PHONY : clean
79
83
84
+ ifeq ($(IS_PHP8 ) ,1)
85
+ package :
86
+ else
80
87
package : tools/box
81
88
$(eval VERSION=$(shell (git describe --abbrev=0 --tags 2>/dev/null || echo "0.1-dev") | sed -e 's/^v//') )
82
89
@rm -rf build/phar && mkdir -p build/phar
@@ -92,6 +99,7 @@ package: tools/box
92
99
tools/box compile
93
100
94
101
@rm -rf build/phar
102
+ endif
95
103
.PHONY : package
96
104
97
105
vendor : install
You can’t perform that action at this time.
0 commit comments