Remove makefile.shade and sources.nuspec
This commit is contained in:
parent
0f4ce625ed
commit
053c77e10e
|
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
"adx-nonshipping": {
|
"adx-nonshipping": {
|
||||||
"rules": [],
|
"rules": [],
|
||||||
"packages": {
|
"packages": {
|
||||||
"Microsoft.AspNetCore.Routing.DecisionTree.Sources": { }
|
"Microsoft.AspNetCore.Routing.DecisionTree.Sources": {}
|
||||||
}
|
|
||||||
},
|
|
||||||
"Default": { // Rules to run for packages not listed in any other set.
|
|
||||||
"rules": [
|
|
||||||
"DefaultCompositeRule"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"Default": {
|
||||||
|
"rules": [
|
||||||
|
"DefaultCompositeRule"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,33 +0,0 @@
|
||||||
|
|
||||||
var VersionPrefix = '1.2.0'
|
|
||||||
var VERSION='0.1'
|
|
||||||
var FULL_VERSION='0.1'
|
|
||||||
use-standard-lifecycle
|
|
||||||
k-standard-goals
|
|
||||||
|
|
||||||
#pack-sources target='compile'
|
|
||||||
@{
|
|
||||||
var nugetPath = E("KOREBUILD_NUGET_EXE") ?? ".build/nuget.exe";
|
|
||||||
var outputDir = Path.Combine(Directory.GetCurrentDirectory(), "artifacts/build/");
|
|
||||||
|
|
||||||
var versionSuffix = E("DOTNET_BUILD_VERSION");
|
|
||||||
var packageVersion = VersionPrefix;
|
|
||||||
if (!string.IsNullOrEmpty(versionSuffix))
|
|
||||||
{
|
|
||||||
packageVersion += "-" + versionSuffix;
|
|
||||||
}
|
|
||||||
|
|
||||||
var sharedDir = Path.Combine(Directory.GetCurrentDirectory(), "shared");
|
|
||||||
foreach (var dir in Directory.GetDirectories(sharedDir, "*.Sources"))
|
|
||||||
{
|
|
||||||
var id = Path.GetFileName(dir);
|
|
||||||
NugetPack(nugetPath,
|
|
||||||
Path.Combine(sharedDir, "sources.nuspec"),
|
|
||||||
outputDir,
|
|
||||||
packageVersion,
|
|
||||||
"-BasePath \"" + dir + "\" -Properties id=" + id);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
macro name='NugetPack' nugetPath='string' nuspecFile='string' outputDir='string' packageVersion='string' extra='string'
|
|
||||||
nuget-pack
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
|
|
||||||
<metadata>
|
|
||||||
<id>$id$</id>
|
|
||||||
<version>$version$</version>
|
|
||||||
<authors>Microsoft</authors>
|
|
||||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
|
||||||
<description>$id$</description>
|
|
||||||
<serviceable>true</serviceable>
|
|
||||||
<contentFiles>
|
|
||||||
<files include="contentFiles/cs/**/*.cs" buildAction="Compile" />
|
|
||||||
</contentFiles>
|
|
||||||
</metadata>
|
|
||||||
<files>
|
|
||||||
<file src="**\*.cs" target="contentFiles/cs/netstandard1.0/" />
|
|
||||||
</files>
|
|
||||||
</package>
|
|
||||||
Loading…
Reference in New Issue