mirror of
https://github.com/bitwarden/server.git
synced 2024-12-25 17:27:45 +01:00
local build scripts
This commit is contained in:
parent
844238d31c
commit
6341937c7c
12
src/Api/build.ps1
Normal file
12
src/Api/build.ps1
Normal 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
12
src/Identity/build.ps1
Normal 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
|
Loading…
Reference in New Issue
Block a user