diff --git a/makefile.shade b/makefile.shade new file mode 100644 index 0000000000..6be672789f --- /dev/null +++ b/makefile.shade @@ -0,0 +1,20 @@ +default BASE_DIR_LOCAL='${Directory.GetCurrentDirectory()}' +default BUILD_DIR_LOCAL='${Path.Combine(BASE_DIR_LOCAL, "artifacts", "build")}' +var VERSION='0.1' +var FULL_VERSION='0.1' + +use-standard-lifecycle +k-standard-goals + +#make-nupkg target='package' + log info='Make nuget package containing ASP.NET Core Module' + @{ + var nugetExePath = Environment.GetEnvironmentVariable("KOREBUILD_NUGET_EXE"); + if (string.IsNullOrEmpty(nugetExePath)) + { + nugetExePath = Path.Combine(BASE_DIR_LOCAL, ".build", "nuget.exe"); + } + + var nuspecPath = Path.Combine(BASE_DIR_LOCAL, "nuget", "AspNetCore.nuspec"); + ExecClr(nugetExePath, "pack " + nuspecPath + " -OutputDirectory " + BUILD_DIR_LOCAL + " -prop VERSION=1.0.0-" + BuildNumber); + } diff --git a/nuget/AspNetCore.nuspec b/nuget/AspNetCore.nuspec new file mode 100644 index 0000000000..c4298b6822 --- /dev/null +++ b/nuget/AspNetCore.nuspec @@ -0,0 +1,19 @@ + + + + Microsoft.AspNetCore.AspNetCoreModule + Microsoft ASP.NET Core Module + $VERSION$ + Microsoft + Microsoft + http://www.microsoft.com/web/webpi/eula/net_library_eula_ENU.htm + © Microsoft Corporation. All rights reserved. + http://www.asp.net/ + true + ASP.NET Core Module + en-US + + + + + \ No newline at end of file diff --git a/src/AspNetCore/AspNetCore.vcxproj b/src/AspNetCore/AspNetCore.vcxproj index bcd8be1fd8..bc85154a61 100644 --- a/src/AspNetCore/AspNetCore.vcxproj +++ b/src/AspNetCore/AspNetCore.vcxproj @@ -231,6 +231,11 @@ + + + PreserveNewest + +