use mokito in the init tests

This commit is contained in:
Devon Carew
2015-09-11 16:12:27 -07:00
parent ab441685e2
commit e6b45c5023
4 changed files with 26 additions and 29 deletions

View File

@@ -65,13 +65,10 @@ Or if the Sky APK is not already on your device, run:
stdout.addStream(process.stdout);
stderr.addStream(process.stderr);
int code = await process.exitCode;
if (code == 0) {
print('\n${message}');
}
} else {
print(message);
return 2;
if (code != 0) return code;
}
print(message);
return 0;
}
}
@@ -146,6 +143,7 @@ name: {{projectName}}
description: {{description}}
dependencies:
sky: any
dev_dependencies:
sky_tools: any
''';