common/define library
Properties
- env → Environment
-
final
- logger → ColorLogger
-
final
Functions
-
checkGitLastCommitHash(
String root) → Future< bool> - 检查代码是否是最新
-
formatGitLog(
String flutterLog, String unityLog) → String -
getGitLastCommitHash(
String root) → Future< String> - 获取本地代码最新的哈希
-
getGitLastRemoteCommitHash(
String root) → Future< String> - 获取代码的远程分支的最新哈希
-
getLocalBranchName(
String root) → Future< String> -
runCommand(
String workingDirectory, String command, {bool verbose = true, bool ignoreError = false, StreamSink< List< ? stdout}) → Future<int> >List< ProcessResult> > -
sendTextToWeixinWebhooks(
String text, String hookUrl) → Future< bool> - 发送文本到企业微信