pantry/projects/getcomposer.org/package.yml
Jacob Heider 806156bb02
fix(composer)
always broken for non-current release. fun. at least the test caught it.

closes #5152
2024-02-08 13:21:08 -05:00

23 lines
467 B
YAML

versions:
github: composer/composer
dependencies:
php.net: '*'
build:
dependencies:
curl.se: '*'
script:
- curl -sSLO https://github.com/composer/composer/releases/download/{{version}}/composer.phar
- install -D composer.phar {{prefix}}/bin/composer.phar
- run: ln -sf composer.phar composer
working-directory: ${{prefix}}/bin
provides:
- bin/composer
- bin/composer.phar
test:
- composer -V
- composer -V | grep {{version}}