release/utils library
Properties
- projectName ↔ String
-
项目名称
getter/setter pair
- projectPath → String
-
项目路径
final
Functions
-
buildFile(
{required String command, required String paltform}) → Future - 打包文件
-
buildFinish(
{required String platform, bool isExternalCall = false}) → void - 打包结束
-
deleteOldFile(
{required String outputPath, required String suffix}) → Future - 删除旧文件
-
getBuildPackageName(
) → String - 获取打包文件名
-
openFile(
String filePath) → Future - 打开文件
-
printErrorMessage(
String val) → void - 打印失败信息
-
printMessage(
String val) → void - 打印信息
-
printSuccessMessage(
String val) → void - 打印成功信息
-
push(
) → Future - Push
-
pushToGit(
) → Future - Push Git
-
selectPushToGit(
) → bool - 选择是否需要上传至 Git