diff --git a/.gitignore b/.gitignore index cd51a9f..542b474 100644 --- a/.gitignore +++ b/.gitignore @@ -1,41 +1,46 @@ -# Autosave files -*~ - -# build -[Oo]bj/ -[Bb]in/ -packages/ -TestResults/ - -# globs -Makefile.in -*.DS_Store -*.sln.cache -*.suo -*.cache -*.pidb -*.userprefs -*.usertasks -config.log -config.make -config.status -aclocal.m4 -install-sh -autom4te.cache/ -*.user -*.tar.gz -tarballs/ -test-results/ -Thumbs.db -.vs/ - -# Mac bundle stuff -*.dmg -*.app - -# resharper -*_Resharper.* -*.Resharper - -# dotCover -*.dotCover +# Autosave files +*~ + +# build +[Oo]bj/ +[Bb]in/ +packages/ +TestResults/ + +# globs +Makefile.in +*.DS_Store +*.sln.cache +*.suo +*.cache +*.pidb +*.userprefs +*.usertasks +config.log +config.make +config.status +aclocal.m4 +install-sh +autom4te.cache/ +*.user +*.tar.gz +tarballs/ +test-results/ +Thumbs.db +.vs/ + +# Mac bundle stuff +*.dmg +*.app + +# resharper +*_Resharper.* +*.Resharper + +# dotCover +*.dotCover + +*.log +*.log.old +.vscode +.build \ No newline at end of file diff --git a/build.ln b/build.ln new file mode 100644 index 0000000..181d6d3 --- /dev/null +++ b/build.ln @@ -0,0 +1,47 @@ + { + "env": { + "NUGET_SOURCE": "http://nuget.l--n.de/nuget/l--n/v3/index.json", + "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.parse -o .build -c $CONFIGURATION", + ] + }, + { + "name": "push", + "commands": [ + "SH dotnet nuget push .build/ln.parse.*.nupkg -s $NUGET_SOURCE -k $NUGET_APIKEY" + ], + "secrets": { + "NUGET_APIKEY": "key/nuget.l--n.de" + } + } + ] + } \ No newline at end of file diff --git a/ln.parse/ln.parse.csproj b/ln.parse/ln.parse.csproj index 24e7cd4..6c6c264 100644 --- a/ln.parse/ln.parse.csproj +++ b/ln.parse/ln.parse.csproj @@ -2,7 +2,7 @@ netcoreapp3.1 - 0.0.5-test + 0.0.6-test Harald Wolff-Thobaben l--n.de