From 74ee61fe8d98af20a3d80bb902095ca0322f2a62 Mon Sep 17 00:00:00 2001 From: Yusuke Arakawa Date: Thu, 14 Nov 2019 11:00:55 +0900 Subject: [PATCH] flutter 1.9.1 (new formula) --- Formula/flutter.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Formula/flutter.rb diff --git a/Formula/flutter.rb b/Formula/flutter.rb new file mode 100644 index 0000000000000..0d49a7d2cff2f --- /dev/null +++ b/Formula/flutter.rb @@ -0,0 +1,19 @@ +class Flutter < Formula + desc "Google’s UI toolkit for mobile, web, and desktop from a single codebase" + homepage "https://flutter.dev" + url "https://storage.googleapis.com/flutter_infra/releases/stable/macos/flutter_macos_v1.9.1+hotfix.6-stable.zip" + sha256 "8d0b3e217e45fbde64e117c5932ec5bd18ced0e8e8fba80a0fec95e38854bb6a" + + def install + cp_r ".", prefix + end + + def post_install + chmod_R "u+w", prefix/"bin/cache" + end + + test do + system "#{bin}/flutter", "create brew_test" + assert_predicate testpath/"brew_test/brew_test.iml", :exist? + end +end