Skip to content

Commit

Permalink
Build PHAR distribution using docker (#1491)
Browse files Browse the repository at this point in the history
  • Loading branch information
maks-rafalko committed Feb 23, 2021
1 parent d7dcd4f commit 9441104
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ PHPUNIT_GROUP=default
compile: ## Bundles Infection into a PHAR
compile: $(INFECTION)

.PHONY: compile-docker
compile-docker: ## Bundles Infection into a PHAR using docker
compile-docker: $(DOCKER_RUN_74_IMAGE)
$(DOCKER_RUN_74) make compile

.PHONY: check_trailing_whitespaces
check_trailing_whitespaces:
./devTools/check_trailing_whitespaces.sh
Expand Down
1 change: 1 addition & 0 deletions devTools/Dockerfile-php74-xdebug
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN apk add --no-cache \
make \
bash \
expect \
git \
zip

COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
Expand Down
1 change: 1 addition & 0 deletions tests/phpunit/AutoReview/Makefile/MakefileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public function test_the_default_goal_is_the_help_command(): void
#---------------------------------------------------------------------------
compile: Bundles Infection into a PHAR
compile-docker: Bundles Infection into a PHAR using docker
cs: Runs PHP-CS-Fixer
cs-check: Runs PHP-CS-Fixer in dry-run mode
profile: Runs Blackfire
Expand Down

0 comments on commit 9441104

Please sign in to comment.