File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ var packPath = Directory("./src/IdentityServer4");
8
8
var buildArtifacts = Directory ( "./artifacts/packages" ) ;
9
9
10
10
var isAppVeyor = AppVeyor . IsRunningOnAppVeyor ;
11
+ var isWindows = IsRunningOnWindows ( ) ;
11
12
12
13
///////////////////////////////////////////////////////////////////////////////
13
14
// Clean
@@ -30,7 +31,7 @@ Task("Build")
30
31
Configuration = configuration
31
32
} ;
32
33
33
- var projects = GetFiles ( "./**/*.csproj" ) ;
34
+ var projects = GetFiles ( "./src/ **/*.csproj" ) ;
34
35
35
36
foreach ( var project in projects )
36
37
{
@@ -51,6 +52,12 @@ Task("Test")
51
52
Configuration = configuration
52
53
} ;
53
54
55
+ if ( ! isWindows )
56
+ {
57
+ Information ( "Not running on Windows - skipping tests for .NET Framework" ) ;
58
+ settings . Framework = "netcoreapp2.0" ;
59
+ }
60
+
54
61
var projects = GetFiles ( "./test/**/*.csproj" ) ;
55
62
foreach ( var project in projects )
56
63
{
You can’t perform that action at this time.
0 commit comments