Updateded build.ln, .gitignore
ln.build - build0.waldrennach.l--n.de build job pending Details

master
Harald Wolff 2020-12-09 15:24:02 +01:00
parent 27b5047989
commit 2183f26ee8
3 changed files with 28 additions and 55 deletions

5
.gitignore vendored
View File

@ -39,3 +39,8 @@ Thumbs.db
# dotCover # dotCover
*.dotCover *.dotCover
*.log
*.log.old
.vscode
.build

View File

@ -1,46 +1,17 @@
{ {
"templates": [
"dotnet"
],
"env": { "env": {
"NUGET_SOURCE": "https://nexus.niclas-thobaben.de/repository/l--n.de/", "NUGET_SOURCE": "https://nexus.niclas-thobaben.de/repository/l--n.de/",
"CONFIGURATION": "Release" "CONFIGURATION": "Release"
}, },
"stages": [ "stages": [
{
"name": "setup",
"env": {
},
"commands": [
"SH echo Setting up build environment",
"SH set",
"SH rm -Rf .build"
]
},
{ {
"name": "prepare", "name": "prepare",
"commands": [ "commands": [
"SH dotnet restore", "dotnet prepare */*.csproj"
"SH dotnet clean"
] ]
},
{
"name": "build",
"commands": [
"SH dotnet build -c $CONFIGURATION"
]
},
{
"name": "pack_and_publish",
"commands": [
"SH dotnet pack -o .build -c $CONFIGURATION",
]
},
{
"name": "push",
"commands": [
"SH for NUPKG in .build/ln.*.nupkg; do dotnet nuget push $NUPKG -s $NUGET_SOURCE -k $NUGET_APIKEY; done",
],
"secrets": {
"NUGET_APIKEY": "https://nexus.niclas-thobaben.de"
}
} }
] ]
} }

View File

@ -1,21 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PropertyGroup> <TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework> </PropertyGroup>
</PropertyGroup> <PropertyGroup>
<Version>0.0.3-ci</Version>
<PropertyGroup> <Authors>Harald Wolff-Thobaben</Authors>
<Version>0.0.1</Version> <Company>l--n.de</Company>
<Authors>Harald Wolff-Thobaben</Authors> <Description>A IHttpRouter for delivering TemplateDocuments</Description>
<Company>l--n.de</Company> <Copyright>(c) 2020 Harald Wolff-Thobaben</Copyright>
<Description>A IHttpRouter for delivering TemplateDocuments</Description> <PackageTags>
<Copyright>(c) 2020 Harald Wolff-Thobaben</Copyright> </PackageTags>
<PackageTags></PackageTags> </PropertyGroup>
</PropertyGroup> <ItemGroup>
<PackageReference Include="ln.http" Version="0.3-*" />
<ItemGroup> <PackageReference Include="ln.templates" Version="0.2" />
<PackageReference Include="ln.http" Version="0.1.2"/> </ItemGroup>
<PackageReference Include="ln.templates" Version="0.1.1"/> </Project>
</ItemGroup>
</Project>