зеркало из https://github.com/aspnet/KoreBuild.git
Merge branch 'release' into dev
This commit is contained in:
Коммит
d985b7e81e
|
@ -15,9 +15,7 @@ default build_options=' ${E("KOREBUILD_DOTNET_BUILD_OPTIONS")}'
|
|||
default framework = null
|
||||
|
||||
@{
|
||||
var projectFolder=Path.GetDirectoryName(projectFile);
|
||||
|
||||
var dotnetArgs=string.Format("build{0} {1} --configuration {2}", build_options, projectFolder, configuration);
|
||||
var dotnetArgs=string.Format("build{0} {1} --configuration {2}", build_options, projectFile, configuration);
|
||||
|
||||
if (!string.IsNullOrEmpty(framework))
|
||||
{
|
||||
|
|
|
@ -141,14 +141,12 @@ default PACKAGELIST_JSON_FILENAME = 'NuGetPackageVerifier.json'
|
|||
|
||||
#build-test target='compile' if='Directory.Exists("test") && !BuildSrcOnly'
|
||||
@{
|
||||
var projectFiles = Files.Include("test/*/project.json").ToList();
|
||||
projectFiles.ForEach(projectFile => DotnetBuild(projectFile, Configuration, BuildFramework));
|
||||
DotnetBuild("test/*/project.json", Configuration, BuildFramework);
|
||||
}
|
||||
|
||||
#build-samples target='compile' if='Directory.Exists("samples") && !BuildSrcOnly'
|
||||
@{
|
||||
var projectFiles = Files.Include("samples/*/project.json").ToList();
|
||||
projectFiles.ForEach(projectFile => DotnetBuild(projectFile, Configuration, BuildFramework));
|
||||
DotnetBuild("samples/*/project.json", Configuration, BuildFramework);
|
||||
}
|
||||
|
||||
#native-compile target='compile' if='!IsLinux && Directory.Exists(Path.Combine(BASE_DIR, "src"))'
|
||||
|
|
Загрузка…
Ссылка в новой задаче