ln.http/build.ln

44 lines
973 B
Plaintext

{
"env": {
"DOTNET_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",
"DOTNET analyze"
]
},
{
"name": "prepare",
"commands": [
"DOTNET clean",
"DOTNET restore"
]
},
{
"name": "build",
"commands": [
"DOTNET build"
]
},
{
"name": "pack_and_publish",
"commands": [
"DOTNET pack",
"DOTNET publish"
]
},
{
"name": "push",
"commands": [
"SH exit 2"
]
}
]
}