Skip to content

Commit

Permalink
getting FAKE build script working
Browse files Browse the repository at this point in the history
  • Loading branch information
markheath committed Jun 21, 2018
1 parent 71a3aff commit 7a056c6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 75 deletions.
64 changes: 0 additions & 64 deletions NAudio.Universal.sln

This file was deleted.

6 changes: 0 additions & 6 deletions NAudio.Universal.sln.DotSettings

This file was deleted.

1 change: 1 addition & 0 deletions NAudioTests/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
<package id="Moq" version="4.0.10827" targetFramework="net35" />
<package id="MSBuildTasks" version="1.4.0.56" targetFramework="net35" />
<package id="NUnit" version="3.10.1" targetFramework="net35" />
<package id="NUnit.ConsoleRunner" version="3.8.0" targetFramework="net35" />
</packages>
Binary file modified Tools/NuGet.exe
Binary file not shown.
11 changes: 6 additions & 5 deletions build.fsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#r "packages/FAKE/tools/FakeLib.dll"
open Fake
open System.IO
open Fake.Testing

let buildDir = "" // using the defaults build output
let appReferences = !! "./*.sln" // still building from the solution
Expand Down Expand Up @@ -31,11 +32,11 @@ Target "ReleaseBuild" (fun _ ->
Target "Test" (fun _ ->
trace "Running unit tests"
testDlls
|> NUnit (fun p ->
{p with
ExcludeCategory = "IntegrationTest";
DisableShadowCopy = true;
OutputFile = testDir + "TestResults.xml"})
|> NUnit3 (fun p ->
{p with
Where = "cat != IntegrationTest";
ShadowCopy = true;
ResultSpecs = [testDir + "TestResults.xml"]})
)

Target "Clean" (fun _ ->
Expand Down

0 comments on commit 7a056c6

Please sign in to comment.