Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flutter SDK v1.20.1 #87344

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Casks/flutter.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
cask "flutter" do
version "1.20.1"
sha256 "a6364d48455bd7eb749bcbd0b7c71b985bccb0149ea0dd95c6bef3bbb2e9f91b"

# storage.googleapis.com/flutter_infra/releases/stable/macos/ was verified as official when first introduced to the cask
url "https://storage.googleapis.com/flutter_infra/releases/stable/macos/flutter_macos_#{version}-stable.zip"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do we get here from the homepage?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flutter.dev > Get Started > macOS > Get the Flutter SDK

name "Flutter SDK"
homepage "https://flutter.dev/"

conflicts_with cask: "dart"
depends_on macos: ">= :catalina"

suite "flutter"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
suite "flutter"

I don't think there is a point in installing SDK in the Applications folder. It's just a Git repo without any GUI applications. Probably should be deleted.

binary "flutter/bin/flutter"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
binary "flutter/bin/flutter"
binary "flutter/bin/dart"
binary "flutter/bin/flutter"

end