Skip to content

Commit f208b0d

Browse files
committed
fix setup.dart
1 parent 8c983ad commit f208b0d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

bin/setup.dart

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,20 @@ void main(List<String> args) async {
3939
defaultsTo: "auto",
4040
help: "Platform to setup",
4141
);
42+
parser.addOption(
43+
"arch",
44+
abbr: "a",
45+
allowed: [
46+
"auto",
47+
"x86",
48+
"x64",
49+
"x86_64",
50+
"arm64-v8a",
51+
"armeabi-v7a",
52+
],
53+
defaultsTo: "auto",
54+
help: "Architecture to setup",
55+
);
4256

4357
final argsParsed = parser.parse(args);
4458
final platform =

0 commit comments

Comments
 (0)