1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

updated grunt in powershell

This commit is contained in:
Keivan Beigi 2013-05-16 13:49:16 -07:00
parent e5a72bbef9
commit 3001b3c905

View File

@ -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