-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflutter_bunny.rb
More file actions
28 lines (25 loc) · 852 Bytes
/
flutter_bunny.rb
File metadata and controls
28 lines (25 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
class FlutterBunny < Formula
desc "Flutter Bunny: A CLI tool for Flutter development"
homepage "https://github.com/demola234/flutter_bunny_cli"
license "MIT"
version "1.1.1"
on_macos do
on_arm do
url "https://github.com/demola234/flutter_bunny_cli/archive/refs/tags/v1.1.1.tar.gz"
sha256 "c97fcec1ee544a0f2d8f1099dad65943d146767f19ca7a01eb69a4947069d383"
end
on_intel do
url "https://github.com/demola234/flutter_bunny_cli/archive/refs/tags/v1.1.1.tar.gz"
sha256 "c97fcec1ee544a0f2d8f1099dad65943d146767f19ca7a01eb69a4947069d383"
end
end
def install
system "dart", "pub", "get"
system "dart", "compile", "exe", "bin/flutter_bunny.dart", "-o", "flutter_bunny"
bin.install "flutter_bunny"
end
test do
# Test by showing help
system "#{bin}/flutter_bunny", "--help"
end
end