mirror of
https://github.com/bitwarden/server.git
synced 2025-02-28 03:51:23 +01:00
use ps instead of cmd
This commit is contained in:
parent
4940ac91e4
commit
4a53e1aa72
12
appveyor.yml
12
appveyor.yml
@ -12,18 +12,18 @@ stack: node 10
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- sh: npm i -g gulp
|
- sh: npm i -g gulp
|
||||||
- cmd: choco install cloc --no-progress
|
- ps: choco install cloc --no-progress
|
||||||
- cmd: "cloc --include-lang C#,SQL,Razor,\"Bourne Shell\",PowerShell,HTML,CSS,Sass,JavaScript,TypeScript --vcs git"
|
- ps: "cloc --include-lang C#,SQL,Razor,\"Bourne Shell\",PowerShell,HTML,CSS,Sass,JavaScript,TypeScript --vcs git"
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
#- sh: dotnet restore
|
#- sh: dotnet restore
|
||||||
- cmd: msbuild /t:restore
|
- ps: msbuild /t:restore
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- sh: chmod +x ./build-ci.sh
|
- sh: chmod +x ./build-ci.sh
|
||||||
- sh: ./build-ci.sh
|
- sh: ./build-ci.sh
|
||||||
- cmd: >-
|
- ps: >-
|
||||||
msbuild bitwarden-server.sln /p:Configuration=Debug /verbosity:minimal^
|
msbuild bitwarden-server.sln /p:Configuration=Debug /verbosity:minimal
|
||||||
/logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
/logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
||||||
- ps: >-
|
- ps: >-
|
||||||
$env:swaggerGen="true"
|
$env:swaggerGen="true"
|
||||||
@ -39,4 +39,4 @@ after_build:
|
|||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
#- sh: dotnet test .\test\Core.Test\Core.Test.csproj --configuration Debug --no-build
|
#- sh: dotnet test .\test\Core.Test\Core.Test.csproj --configuration Debug --no-build
|
||||||
- cmd: dotnet test .\test\Core.Test\Core.Test.csproj --configuration Debug --no-build
|
- ps: dotnet test .\test\Core.Test\Core.Test.csproj --configuration Debug --no-build
|
||||||
|
Loading…
Reference in New Issue
Block a user