scientistproject / Scientist.net

A .NET library for carefully refactoring critical paths. It's a port of GitHub's Ruby Scientist library
MIT License
1.46k stars 95 forks source link

Fix build script to catch unit test failures for #85. #86

Closed joncloud closed 7 years ago

joncloud commented 7 years ago

Update dotnet cli version to match preview2 for compatibility with project. Correct typo in folder name. Add check to make sure dotnet test returns a 0 exit code so that if the test fails at all the build process fails altogether.

joncloud commented 7 years ago

I wasn't entirely sure about the syntax/behavior in for checking the exit code, but this seemed to work locally.

haacked commented 7 years ago

Good enough for me. :smile: Thanks!