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>
This commit is contained in:
Ian Wijma 2023-07-28 03:52:16 +10:00 committed by GitHub
parent 2195d4c94b
commit 5a34063324
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,32 @@
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}}