Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Commit

Permalink
Just call "dotnet build" in solution folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate McMaster committed Feb 1, 2017
1 parent b2ca2d5 commit 13c1459
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 3 additions & 2 deletions build/shade/_dotnet-build.shade
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ dotnet-build
Builds a project.

projectFile=''
Required. Path to the projectFile to build.
Optional. Path to the projectFile to build.

configuration=''
Optional. The configuration to build in. Defaults to 'Debug'.
*/}

default projectFile = ''
default configuration = 'Debug'
default build_options=' ${E("KOREBUILD_DOTNET_BUILD_OPTIONS")}'
default framework = null
default framework = ''

@{
var dotnetArgs=string.Format("build{0} {1} --configuration {2}", build_options, projectFile, configuration);
Expand Down
7 changes: 2 additions & 5 deletions build/shade/_k-standard-goals.shade
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,7 @@ default SAMPLES_PROJECT_GLOB = "samples/*/*.csproj"
});
}

foreach (var sln in Files.Include(Path.Combine(BASE_DIR, "*.sln")))
{
Dotnet("msbuild \"" + sln + "\" /p:Configuration=" + Configuration, BASE_DIR);
}
DotnetBuild(Configuration);
}

#run-api-check .build-compile target='compile' description='Checks the compiled assemblies against a baseline for potential breaking changes'
Expand Down Expand Up @@ -459,7 +456,7 @@ macro name='Dotnet' command='string'
macro name='Dotnet' command='string' dotnetDir='string'
dotnet

macro name="DotnetBuild" projectFile='string' configuration='string' framework='string'
macro name="DotnetBuild" configuration='string'
dotnet-build

macro name="DotnetPack" projectFile='string' dotnetPackOutputDir='string' configuration='string' pack_options='string'
Expand Down

0 comments on commit 13c1459

Please sign in to comment.