cleanup, update build.ln
ln.build - build0.waldrennach.l--n.de build job pending
Details
ln.build - build0.waldrennach.l--n.de build job pending
Details
parent
377a8a16b9
commit
fb412cd3b9
64
build.ln
64
build.ln
|
@ -1,47 +1,17 @@
|
||||||
{
|
{
|
||||||
"env": {
|
"templates": [
|
||||||
"NUGET_SOURCE": "https://nexus.niclas-thobaben.de/repository/l--n.de/",
|
"dotnet"
|
||||||
"CONFIGURATION": "Release"
|
],
|
||||||
},
|
"env": {
|
||||||
"stages": [
|
"NUGET_SOURCE": "https://nexus.niclas-thobaben.de/repository/l--n.de/",
|
||||||
{
|
"CONFIGURATION": "Release"
|
||||||
"name": "setup",
|
},
|
||||||
"env": {
|
"stages": [
|
||||||
"SOME_ENV_VAR": "Some text",
|
{
|
||||||
},
|
"name": "prepare",
|
||||||
"commands": [
|
"commands": [
|
||||||
"SH echo Setting up build environment",
|
"dotnet prepare */*.csproj"
|
||||||
"SH set",
|
]
|
||||||
"SH rm -Rf .build"
|
}
|
||||||
]
|
]
|
||||||
},
|
}
|
||||||
{
|
|
||||||
"name": "prepare",
|
|
||||||
"commands": [
|
|
||||||
"SH dotnet restore",
|
|
||||||
"SH dotnet clean"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "build",
|
|
||||||
"commands": [
|
|
||||||
"SH dotnet build -c $CONFIGURATION"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "pack_and_publish",
|
|
||||||
"commands": [
|
|
||||||
"SH dotnet pack ln.templates -o .build -c $CONFIGURATION",
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "push",
|
|
||||||
"commands": [
|
|
||||||
"SH dotnet nuget push .build/ln.templates.*.nupkg -s $NUGET_SOURCE -k $NUGET_APIKEY"
|
|
||||||
],
|
|
||||||
"secrets": {
|
|
||||||
"NUGET_APIKEY": "https://nexus.niclas-thobaben.de"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using ln.templates.streams;
|
|
||||||
using ln.templates.elements;
|
using ln.templates.elements;
|
||||||
|
|
||||||
namespace ln.templates
|
namespace ln.templates
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Version>0.2.0</Version>
|
<Version>0.2.1-ci</Version>
|
||||||
<Authors>Harald Wolff-Thobaben</Authors>
|
<Authors>Harald Wolff-Thobaben</Authors>
|
||||||
<Company>l--n.de</Company>
|
<Company>l--n.de</Company>
|
||||||
<Description>A simple templating system</Description>
|
<Description>A simple templating system</Description>
|
||||||
|
@ -12,12 +12,6 @@
|
||||||
<PackageTags>templating template</PackageTags>
|
<PackageTags>templating template</PackageTags>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Compile Remove="ln.templates.test\**" />
|
|
||||||
<EmbeddedResource Remove="ln.templates.test\**" />
|
|
||||||
<None Remove="ln.templates.test\**" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Jint" Version="2.11.58" />
|
<PackageReference Include="Jint" Version="2.11.58" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
Loading…
Reference in New Issue