Browse Source

Updateded build.ln, .gitignore

master
Harald Wolff 11 months ago
parent
commit
2183f26ee8
  1. 5
      .gitignore
  2. 39
      build.ln
  3. 39
      ln.templates.http/ln.templates.http.csproj

5
.gitignore

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

39
build.ln

@ -1,46 +1,17 @@
{
"templates": [
"dotnet"
],
"env": {
"NUGET_SOURCE": "https://nexus.niclas-thobaben.de/repository/l--n.de/",
"CONFIGURATION": "Release"
},
"stages": [
{
"name": "setup",
"env": {
},
"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"
"dotnet prepare */*.csproj"
]
},
{
"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"
}
}
]
}
}

39
ln.templates.http/ln.templates.http.csproj

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