mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
parent
ff5b7dc3bd
commit
c0771b7b06
1 changed files with 4 additions and 3 deletions
|
@ -8,12 +8,13 @@ platforms:
|
||||||
dependencies:
|
dependencies:
|
||||||
git-scm.org: '*'
|
git-scm.org: '*'
|
||||||
tukaani.org/xz: '*'
|
tukaani.org/xz: '*'
|
||||||
|
gnu.org/which: '*' # flutter create uses which
|
||||||
linux:
|
linux:
|
||||||
curl.se: '*'
|
curl.se: '*'
|
||||||
info-zip.org/zip: '*'
|
info-zip.org/zip: '*'
|
||||||
info-zip.org/unzip: '*'
|
info-zip.org/unzip: '*'
|
||||||
build:
|
build:
|
||||||
working-directory: "{{prefix}}"
|
working-directory: '{{prefix}}'
|
||||||
script:
|
script:
|
||||||
- run: curl -L "$DIST" | tar Jxf -
|
- run: curl -L "$DIST" | tar Jxf -
|
||||||
if: linux
|
if: linux
|
||||||
|
@ -22,10 +23,10 @@ build:
|
||||||
unzip flutter_darwin.zip
|
unzip flutter_darwin.zip
|
||||||
rm flutter_darwin.zip
|
rm flutter_darwin.zip
|
||||||
if: darwin
|
if: darwin
|
||||||
- run: |
|
- run: |
|
||||||
ln -s ../flutter/bin/flutter flutter
|
ln -s ../flutter/bin/flutter flutter
|
||||||
ln -s ../flutter/bin/dart dart
|
ln -s ../flutter/bin/dart dart
|
||||||
working-directory: "{{prefix}}/bin"
|
working-directory: '{{prefix}}/bin'
|
||||||
env:
|
env:
|
||||||
linux:
|
linux:
|
||||||
DIST: https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_{{version}}-stable.tar.xz
|
DIST: https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_{{version}}-stable.tar.xz
|
||||||
|
|
Loading…
Reference in a new issue