Merge branch 'master' of toki-labs.com:/Volumes/Data2/git/oto_cli
This commit is contained in:
commit
daa70e44f2
4 changed files with 7 additions and 4 deletions
|
|
@ -252,12 +252,12 @@ class _PrinterUnix extends Printer {
|
|||
Future printCLI(List<String> printList) async {
|
||||
var c = Completer();
|
||||
StringBuffer message = StringBuffer();
|
||||
message.writeln("echo -e '");
|
||||
message.writeln('echo -e "');
|
||||
|
||||
for (var item in printList) {
|
||||
message.writeln(item);
|
||||
}
|
||||
message.write("'");
|
||||
message.write('"');
|
||||
|
||||
var temp = await getTempFile(message.toString(), 'sh');
|
||||
await Process.run('zsh', [temp.path]).then((ProcessResult result) {
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ class CommandExe extends CommandBase {
|
|||
@override
|
||||
Map<String, List<String>> get arguments => {
|
||||
'-j': ["Used when it's a Jenkins build."],
|
||||
'-f {file path}': ["Run the yaml file to process."],
|
||||
'-t': ["This is the setup for testing."]
|
||||
'-t': ["This is the setup for testing."],
|
||||
'-f {file path}': ["Run the yaml file to process."]
|
||||
};
|
||||
@override
|
||||
String get name => 'exe';
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// ignore_for_file: constant_identifier_names
|
||||
|
||||
import 'dart:async';
|
||||
import 'package:oto_cli/oto/application.dart';
|
||||
import 'package:oto_cli/oto/build/app_data_creator.dart';
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
// ignore: depend_on_referenced_packages
|
||||
import 'package:yaml/yaml.dart' as yaml;
|
||||
|
||||
import 'package:oto_cli/oto/build/build_flutter.dart';
|
||||
|
|
|
|||
Loading…
Reference in a new issue