mirror of
https://github.com/bitwarden/server.git
synced 2024-12-04 14:13:28 +01:00
16 lines
457 B
PowerShell
16 lines
457 B
PowerShell
|
$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
|