mirror of
https://github.com/bitwarden/server.git
synced 2025-06-09 12:40:32 -05: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:
|
build_script:
|
||||||
- sh: chmod +x ./build-ci.sh
|
- sh: chmod +x ./build-ci.sh
|
||||||
- sh: ./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: >-
|
||||||
- cmd: msbuild bitwarden-server.sln /p:Configuration=Debug /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
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:
|
after_build:
|
||||||
- sh: docker logout
|
- sh: docker logout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user