pantry/projects/getcomposer.org/package.yml

23 lines
467 B
YAML
Raw Normal View History

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}}