pantry/projects/symfony.com/package.yml
Ian Wijma 5a34063324
Added symfony-cli (#2677)
* Added symfony-cli

* Removed comment and added platforms

* Update package.yml

* whoops. too much cleanup

* i hate that curl doesn't follow redirects by default

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
2023-07-27 13:52:16 -04:00

33 lines
698 B
YAML

distributable:
url: https://github.com/symfony-cli/symfony-cli/releases/download/v{{version}}/symfony-cli-{{version}}.tar.gz
strip-components: 1
versions:
github: symfony-cli/symfony-cli
dependencies:
php.net: '*'
warnings:
- vendored
build:
dependencies:
gnu.org/wget: '*'
script:
- curl -L https://github.com/symfony-cli/symfony-cli/releases/download/v{{version}}/symfony-cli_$TYPE.tar.gz | tar -xzf -
- mkdir -p {{prefix}}/bin
- install ./symfony {{prefix}}/bin/symfony
env:
linux/x86-64:
TYPE: linux_amd64
linux/aarch64:
TYPE: linux_arm64
darwin:
TYPE: darwin_all
provides:
- bin/symfony
test: symfony -V | grep {{version}}