mirror of
https://github.com/bitwarden/server.git
synced 2025-02-27 03:41:30 +01:00
build swagger.json
This commit is contained in:
parent
74529f665a
commit
200c1f02c4
13
appveyor.yml
13
appveyor.yml
@ -22,8 +22,17 @@ before_build:
|
||||
build_script:
|
||||
- sh: chmod +x ./build-ci.sh
|
||||
- sh: ./build-ci.sh
|
||||
#- sh: ASPNETCORE_ENVIRONMENT=Production && swaggerGen=true && dotnet swagger tofile --output swagger.json --host api.bitwarden.com --format Indented bin/Debug/netcoreapp2.1/Api.dll public
|
||||
- cmd: msbuild bitwarden-server.sln /p:Configuration=Debug /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
||||
- cmd: >-
|
||||
msbuild bitwarden-server.sln /p:Configuration=Debug /verbosity:minimal ^
|
||||
/logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
||||
- ps: >-
|
||||
$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=""
|
||||
|
||||
after_build:
|
||||
- sh: docker logout
|
||||
|
Loading…
Reference in New Issue
Block a user