1
0
mirror of https://github.com/bitwarden/server synced 2026-01-06 18:43:36 +00:00

fix npm install from build scripts

This commit is contained in:
Kyle Spearrin
2019-08-04 20:24:46 -04:00
parent f43e954a31
commit 379d1b60bd
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
$curDir = pwd
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path
echo "`n## Building Admin"
@@ -9,7 +10,9 @@ 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
cd $dir
npm install
cd $curDir
gulp --gulpfile $dir\gulpfile.js build
echo "Publish"
dotnet publish $dir\Admin.csproj -c "Release" -o $dir\obj\Azure\publish