Skip to content

Commit

Permalink
Added symfony-cli (#2677)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
ianwijma and jhheider authored Jul 27, 2023
1 parent 2195d4c commit 5a34063
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions projects/symfony.com/package.yml
Original file line number Diff line number Diff line change
@@ -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}}

0 comments on commit 5a34063

Please sign in to comment.