Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Install humbug/box with phive #812

Merged
merged 1 commit into from
Nov 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -334,13 +334,13 @@ jobs:
run: "echo $(cat box.json | jq 'del(.git)') > box.json"

- name: "Validate configuration for humbug/box"
run: "phar/box.phar validate box.json"
run: ".phive/box validate box.json"

- name: "Compile composer-normalize.phar with humbug/box"
run: "phar/box.phar compile --config=box.json"
run: ".phive/box compile --config=box.json"

- name: "Show info about composer-normalize.phar with humbug/box"
run: "phar/box.phar info ${{ env.COMPOSER_NORMALIZE_PHAR }}"
run: ".phive/box info ${{ env.COMPOSER_NORMALIZE_PHAR }}"

- name: "Run composer-normalize.phar"
run: "${{ env.COMPOSER_NORMALIZE_PHAR }}"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ jobs:
run: "composer require composer/composer:${{ env.COMPOSER_VERSION }} --no-interaction --no-progress"

- name: "Validate configuration for humbug/box"
run: "phar/box.phar validate box.json"
run: ".phive/box validate box.json"

- name: "Compile composer-normalize.phar with humbug/box"
run: "phar/box.phar compile --config=box.json"
run: ".phive/box compile --config=box.json"

- name: "Show info about composer-normalize.phar with humbug/box"
run: "phar/box.phar info ${{ env.COMPOSER_NORMALIZE_PHAR }}"
run: ".phive/box info ${{ env.COMPOSER_NORMALIZE_PHAR }}"

- name: "Run composer-normalize.phar"
run: "${{ env.COMPOSER_NORMALIZE_PHAR }}"
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions .phive/phars.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<phive xmlns="https://phar.io/phive">
<phar name="composer-normalize" version="^2.15.0" installed="2.15.0" location="./.phive/composer-normalize" copy="true"/>
<phar name="composer-require-checker" version="^2.1.0" installed="2.1.0" location="./.phive/composer-require-checker" copy="true"/>
<phar name="humbug/box" version="3.8.4" installed="3.8.4" location="./.phive/box" copy="true"/>
</phive>
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ help: ## Displays this list of targets with descriptions

.PHONY: phar
phar: vendor ## Builds a phar with humbug/box
phar/box.phar validate box.json
.phive/box validate box.json
composer require composer/composer:${COMPOSER_VERSION} --no-interaction --no-progress --update-with-dependencies
phar/box.phar compile --config=box.json
.phive/box compile --config=box.json
git checkout HEAD -- composer.json composer.lock
phar/box.phar info .build/phar/composer-normalize.phar
.phive/box info .build/phar/composer-normalize.phar
.build/phar/composer-normalize.phar
.build/phar/composer-normalize.phar --dry-run composer.json

Expand Down