diff --git a/build.ln b/build.ln index d727464..5ca401a 100644 --- a/build.ln +++ b/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" + "dotnet prepare */*.csproj" ] - }, - { - "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" - } } ] -} \ No newline at end of file +} diff --git a/ln.logging/Logger.cs b/ln.logging/Logger.cs index 06d1f2f..9b27cbe 100644 --- a/ln.logging/Logger.cs +++ b/ln.logging/Logger.cs @@ -14,8 +14,6 @@ namespace ln.logging public static TextWriter SysOut = Console.Out; public static TextWriter SysError = Console.Error; - - public static void CaptureConsole(Logger logger) { LoggingWriter outWriter = new LoggingWriter(logger); diff --git a/ln.logging/ln.logging.csproj b/ln.logging/ln.logging.csproj index a94c687..f815054 100644 --- a/ln.logging/ln.logging.csproj +++ b/ln.logging/ln.logging.csproj @@ -2,7 +2,7 @@ netcoreapp3.1 - 1.0.1 + 1.0.2-ci Harald Wolff-Thobaben l--n.de