Skip to content

Commit

Permalink
fix an appveyor issue with the test exit codes
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew committed Oct 24, 2015
1 parent 7ffeff9 commit 9b37bdf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Line endings: enforce LF in GitHub, convert to native on checkout.
* text=auto
*.dart text
*.md text
*.sh text
*.yaml text
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ clone_depth: 1
build: off

test_script:
- pub run grinder:grinder
- pub run grinder
5 changes: 4 additions & 1 deletion tool/grind.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ main(args) {
analyze() => new PubApp.global('tuneup')..runAsync(['check', '--ignore-infos']);

@Task()
test() => new TestRunner().testAsync();
test() {
//new TestRunner().testAsync();
return Dart.runAsync(getFile('test/all.dart').path, vmArgs: ['--checked']);
}

@Task('Apply dartfmt to all Dart source files')
format() => DartFmt.format(existingSourceDirs);
Expand Down

0 comments on commit 9b37bdf

Please sign in to comment.