dart framework update & 인터페이스 맞춤
This commit is contained in:
parent
baf5c877fc
commit
86085b42d0
4 changed files with 6 additions and 6 deletions
|
|
@ -121,8 +121,8 @@ class CLI {
|
|||
}
|
||||
|
||||
static final commandNameSpace = 21;
|
||||
static get serviceName => CLI.current.config.serviceName;
|
||||
static get executableFileName => CLI.current.config.executableFileName;
|
||||
static String get serviceName => CLI.current.config.serviceName;
|
||||
static String get executableFileName => CLI.current.config.executableFileName;
|
||||
|
||||
static Future print(List<String> printList,
|
||||
{Color? color, Color? background}) async {
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ class Application {
|
|||
late Pipeline pipeline;
|
||||
late BuildType _buildType;
|
||||
|
||||
get buildType {
|
||||
BuildType get buildType {
|
||||
return _buildType;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ class BuildiOS extends Command {
|
|||
'REPLACED_WITH_NEW_VERSION'
|
||||
];
|
||||
List<dynamic> jsonArr;
|
||||
String? readyForSaleVersion = null;
|
||||
String? readyForSaleVersion;
|
||||
for (var item in arr) {
|
||||
if (item.contains(result)) {
|
||||
jsonArr =
|
||||
|
|
@ -123,7 +123,7 @@ class BuildiOS extends Command {
|
|||
if (targetBuildNumber == null) {
|
||||
throw Exception('Can not find target build number.');
|
||||
}
|
||||
buildNumber = incrementVersion(targetBuildNumber, fixedLength: 4);
|
||||
buildNumber = incrementVersion(targetBuildNumber, fixedLength: 4, reverse: true );
|
||||
}
|
||||
|
||||
String? target = data.target;
|
||||
|
|
|
|||
|
|
@ -270,7 +270,7 @@ abstract class Command {
|
|||
if (match == null) {
|
||||
throw Exception('Please put the correct value. (ex: <@property.value>)');
|
||||
}
|
||||
tag = match!.group(2)!;
|
||||
tag = match.group(2)!;
|
||||
if (tag.startsWith('property')) {
|
||||
var key = tag.replaceFirst('property.', '');
|
||||
Application.instance.property[key] = value;
|
||||
|
|
|
|||
Loading…
Reference in a new issue