Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier-spinelli committed Sep 1, 2017
2 parents b4b8c93 + 28a5afe commit d0b9d4a
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions CodeCakeBuilder/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,15 @@ public Build()
.IsDependentOn( "Restore" )
.Does( () =>
{
Cake.DotNetCoreBuild( solutionFileName,
new DotNetCoreBuildSettings().AddVersionArguments( gitInfo, s =>
{
s.Configuration = configuration;
} ) );
using( var tempSln = Cake.CreateTemporarySolutionFile( solutionFileName ) )
{
tempSln.ExcludeProjectsFromBuild( "CodeCakeBuilder" );
Cake.DotNetCoreBuild( tempSln.FullPath.FullPath,
new DotNetCoreBuildSettings().AddVersionArguments( gitInfo, s =>
{
s.Configuration = configuration;
} ) );
}
} );

Task( "Unit-Testing" )
Expand Down

0 comments on commit d0b9d4a

Please sign in to comment.