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
44
build.ln
44
build.ln
|
@ -1,47 +1,17 @@
|
|||
{
|
||||
{
|
||||
"templates": [
|
||||
"dotnet"
|
||||
],
|
||||
"env": {
|
||||
"NUGET_SOURCE": "https://nexus.niclas-thobaben.de/repository/l--n.de/",
|
||||
"CONFIGURATION": "Release"
|
||||
},
|
||||
"stages": [
|
||||
{
|
||||
"name": "setup",
|
||||
"env": {
|
||||
"SOME_ENV_VAR": "Some text",
|
||||
},
|
||||
"commands": [
|
||||
"SH echo Setting up build environment",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
"dotnet prepare */*.csproj"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,8 +1,6 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using ln.templates.streams;
|
||||
using ln.templates.elements;
|
||||
|
||||
namespace ln.templates
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<Version>0.2.0</Version>
|
||||
<Version>0.2.1-ci</Version>
|
||||
<Authors>Harald Wolff-Thobaben</Authors>
|
||||
<Company>l--n.de</Company>
|
||||
<Description>A simple templating system</Description>
|
||||
|
@ -12,12 +12,6 @@
|
|||
<PackageTags>templating template</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Remove="ln.templates.test\**" />
|
||||
<EmbeddedResource Remove="ln.templates.test\**" />
|
||||
<None Remove="ln.templates.test\**" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Jint" Version="2.11.58" />
|
||||
</ItemGroup>
|
||||
|
|
Loading…
Reference in New Issue