Skip to content

Commit 9166ed9

Browse files
committed
Do not package on PHP 8 untill box supports it
1 parent 6bcc014 commit 9166ed9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,12 @@ test: vendor cs deptrac phpunit infection
2727
test-min: update-min cs deptrac phpunit infection
2828
.PHONY: test-min
2929

30+
ifeq ($(IS_PHP8),1)
31+
test-package:
32+
else
3033
test-package: package test-package-tools
3134
cd tests/phar && ./tools/phpunit
35+
endif
3236
.PHONY: test-package
3337

3438

@@ -77,6 +81,9 @@ clean:
7781
find tests/phar/tools -not -path '*/\.*' -type f -delete
7882
.PHONY: clean
7983

84+
ifeq ($(IS_PHP8),1)
85+
package:
86+
else
8087
package: tools/box
8188
$(eval VERSION=$(shell (git describe --abbrev=0 --tags 2>/dev/null || echo "0.1-dev") | sed -e 's/^v//'))
8289
@rm -rf build/phar && mkdir -p build/phar
@@ -92,6 +99,7 @@ package: tools/box
9299
tools/box compile
93100

94101
@rm -rf build/phar
102+
endif
95103
.PHONY: package
96104

97105
vendor: install

0 commit comments

Comments
 (0)