1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00

formatting

This commit is contained in:
Kyle Spearrin 2019-03-13 10:30:41 -04:00
parent fc422d9458
commit 7d4e051862

View File

@ -67,13 +67,14 @@ build_script:
msbuild bitwarden-server.sln /p:Configuration=Debug /verbosity:minimal `
/logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
$env:swaggerGen="true"
$env:ASPNETCORE_ENVIRONMENT="Production"
cd .\src\Api; dotnet swagger tofile --output ..\..\swagger.json --host api.bitwarden.com --format Indented `
$env:swaggerGen = "true"
$env:ASPNETCORE_ENVIRONMENT = "Production"
cd .\src\Api
dotnet swagger tofile --output ..\..\swagger.json --host api.bitwarden.com --format Indented `
.\bin\Debug\netcoreapp2.1\Api.dll public
cd ..\..
$env:ASPNETCORE_ENVIRONMENT=""
$env:swaggerGen=""
$env:ASPNETCORE_ENVIRONMENT = ""
$env:swaggerGen = ""
Push-AppveyorArtifact .\swagger.json
}