mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00
azure build scripts
This commit is contained in:
parent
48fd3062b6
commit
a0da6b3886
15
src/Admin/build.ps1
Normal file
15
src/Admin/build.ps1
Normal file
@ -0,0 +1,15 @@
|
||||
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
|
||||
echo "`n## Building Admin"
|
||||
|
||||
echo "`nBuilding app"
|
||||
echo ".NET Core version $(dotnet --version)"
|
||||
echo "Restore"
|
||||
dotnet restore $dir\Admin.csproj
|
||||
echo "Clean"
|
||||
dotnet clean $dir\Admin.csproj -c "Release" -o $dir\obj\Azure\publish
|
||||
echo "Node Build"
|
||||
npm --prefix $dir install $dir
|
||||
gulp --gulpfile $dir\gulpfile.js build
|
||||
echo "Publish"
|
||||
dotnet publish $dir\Admin.csproj -c "Release" -o $dir\obj\Azure\publish
|
12
src/Billing/build.ps1
Normal file
12
src/Billing/build.ps1
Normal file
@ -0,0 +1,12 @@
|
||||
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
|
||||
echo "`n## Building Billing"
|
||||
|
||||
echo "`nBuilding app"
|
||||
echo ".NET Core version $(dotnet --version)"
|
||||
echo "Restore"
|
||||
dotnet restore $dir\Billing.csproj
|
||||
echo "Clean"
|
||||
dotnet clean $dir\Billing.csproj -c "Release" -o $dir\obj\Azure\publish
|
||||
echo "Publish"
|
||||
dotnet publish $dir\Billing.csproj -c "Release" -o $dir\obj\Azure\publish
|
12
src/Events/build.ps1
Normal file
12
src/Events/build.ps1
Normal file
@ -0,0 +1,12 @@
|
||||
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
|
||||
echo "`n## Building Events"
|
||||
|
||||
echo "`nBuilding app"
|
||||
echo ".NET Core version $(dotnet --version)"
|
||||
echo "Restore"
|
||||
dotnet restore $dir\Events.csproj
|
||||
echo "Clean"
|
||||
dotnet clean $dir\Events.csproj -c "Release" -o $dir\obj\Azure\publish
|
||||
echo "Publish"
|
||||
dotnet publish $dir\Events.csproj -c "Release" -o $dir\obj\Azure\publish
|
12
src/EventsProcessor/build.ps1
Normal file
12
src/EventsProcessor/build.ps1
Normal file
@ -0,0 +1,12 @@
|
||||
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
||||
|
||||
echo "`n## Building Events Processor"
|
||||
|
||||
echo "`nBuilding app"
|
||||
echo ".NET Core version $(dotnet --version)"
|
||||
echo "Restore"
|
||||
dotnet restore $dir\EventsProcessor.csproj
|
||||
echo "Clean"
|
||||
dotnet clean $dir\EventsProcessor.csproj -c "Release" -o $dir\obj\Azure\publish
|
||||
echo "Publish"
|
||||
dotnet publish $dir\EventsProcessor.csproj -c "Release" -o $dir\obj\Azure\publish
|
Loading…
x
Reference in New Issue
Block a user