fix(flutter)

closes #4394
This commit is contained in:
Jacob Heider 2023-12-13 14:51:00 -05:00 committed by Jacob Heider
parent ff5b7dc3bd
commit c0771b7b06

View file

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