mirror of
https://github.com/Radarr/Radarr
synced 2024-12-23 16:32:48 +00:00
updated grunt in powershell
This commit is contained in:
parent
e5a72bbef9
commit
3001b3c905
1 changed files with 9 additions and 4 deletions
13
build.ps1
13
build.ps1
|
@ -76,11 +76,16 @@ Function Nunit()
|
|||
|
||||
Function RunGrunt()
|
||||
{
|
||||
$npmInstall = 'npm install'
|
||||
$gruntPackage = 'grunt package'
|
||||
$gruntPath = [environment]::getfolderpath("applicationdata") + '\npm\node_modules\grunt-cli\bin\grunt'
|
||||
|
||||
Invoke-Expression $npmInstall
|
||||
Invoke-Expression $gruntPackage
|
||||
if(!(Test-Path $gruntPath))
|
||||
{
|
||||
Invoke-Expression 'npm install grunt-cli -g'
|
||||
}
|
||||
|
||||
Invoke-Expression 'npm install'
|
||||
|
||||
Invoke-Expression ('node ' + $gruntPath + ' package')
|
||||
}
|
||||
|
||||
Build
|
||||
|
|
Loading…
Reference in a new issue