Skip to content
This repository has been archived by the owner on Jun 12, 2021. It is now read-only.

Commit

Permalink
split test target into test-core and test-net
Browse files Browse the repository at this point in the history
  • Loading branch information
adamralph committed Nov 3, 2017
1 parent 59e7e70 commit 36fea78
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions build.csx
Expand Up @@ -47,9 +47,16 @@ targets.Add(
});

targets.Add(
"test",
"test-core",
DependsOn("build"),
() => Cmd("dotnet", $"xunit -configuration Release -nobuild", "./tests/Xbehave.Test"));
() => Cmd("dotnet", $"xunit -configuration Release -nobuild -framework netcoreapp1.1", "./tests/Xbehave.Test"));

targets.Add(
"test-net",
DependsOn("build"),
() => Cmd("dotnet", $"xunit -configuration Release -nobuild -framework net452", "./tests/Xbehave.Test"));

targets.Add("test", DependsOn("test-core", "test-net"));

Run(Args, targets);

Expand Down

0 comments on commit 36fea78

Please sign in to comment.