update the sky_tools template and readme

This commit is contained in:
Devon Carew
2015-08-09 23:50:16 -07:00
parent 52f78d4fe4
commit a03deafac8
4 changed files with 28 additions and 17 deletions

View File

@@ -32,9 +32,9 @@ defineTests() {
results.values['out'] = temp.path;
await handler.processArgResults(results);
String path = p.join(temp.path, 'lib/main.dart');
print(path);
expect(new File(path).existsSync(), true);
ProcessResult exec = Process.runSync('dartanalyzer', [path],
ProcessResult exec = Process.runSync(
'dartanalyzer', ['--fatal-warnings', path],
workingDirectory: temp.path);
expect(exec.exitCode, 0);
});