1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00

local build scripts

This commit is contained in:
Kyle Spearrin 2020-03-06 22:05:50 -05:00
parent 844238d31c
commit 6341937c7c
2 changed files with 24 additions and 0 deletions

12
src/Api/build.ps1 Normal file
View File

@ -0,0 +1,12 @@
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path
echo "`n## Building API"
echo "`nBuilding app"
echo ".NET Core version $(dotnet --version)"
echo "Restore"
dotnet restore $dir\Api.csproj
echo "Clean"
dotnet clean $dir\Api.csproj -c "Release" -o $dir\obj\Azure\publish
echo "Publish"
dotnet publish $dir\Api.csproj -c "Release" -o $dir\obj\Azure\publish

12
src/Identity/build.ps1 Normal file
View File

@ -0,0 +1,12 @@
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path
echo "`n## Building Identity"
echo "`nBuilding app"
echo ".NET Core version $(dotnet --version)"
echo "Restore"
dotnet restore $dir\Identity.csproj
echo "Clean"
dotnet clean $dir\Identity.csproj -c "Release" -o $dir\obj\Azure\publish
echo "Publish"
dotnet publish $dir\Identity.csproj -c "Release" -o $dir\obj\Azure\publish