Expose sync through Dart bindings (#221)

Reformat build_other.dart
This commit is contained in:
Erdem Yerebasmaz
2024-05-23 17:59:01 +03:00
committed by GitHub
parent 9d5097a55c
commit a9cc69743d
9 changed files with 119 additions and 3 deletions

View File

@@ -87,6 +87,7 @@ enum Targets {
return values.firstWhere((target) => target.triple == host);
}
String get compiler => isWindows ? 'cargo xwin build --package breez-liquid-sdk' : 'cargo zigbuild --package breez-liquid-sdk';
String get compiler =>
isWindows ? 'cargo xwin build --package breez-liquid-sdk' : 'cargo zigbuild --package breez-liquid-sdk';
String get libName => isWindows ? windowsLibName : linuxLibName;
}