switched from grunt to gulp

This commit is contained in:
kayone 2014-08-28 14:40:18 -07:00
commit 4d23b2cac3
23 changed files with 861 additions and 561 deletions

View file

@ -191,17 +191,17 @@ Function PackageTests()
Function RunGrunt()
{
Write-Host "##teamcity[progressStart 'Running Grunt']"
$gruntPath = [environment]::getfolderpath("applicationdata") + '\npm\node_modules\grunt-cli\bin\grunt'
Write-Host "##teamcity[progressStart 'Running Gulp']"
$gulpPath = '.\node_modules\gulp\bin\gulp'
Invoke-Expression 'npm install'
CheckExitCode
Invoke-Expression ('node ' + $gruntPath + ' packagerjs') -ErrorAction Continue -Verbose
Invoke-Expression ('node ' + $gulpPath + ' build') -ErrorAction Continue -Verbose
CheckExitCode
Remove-Item $outputFolder\UI\build.txt -ErrorAction Continue
Write-Host "##teamcity[progressFinish 'Running Grunt']"
Write-Host "##teamcity[progressFinish 'Running Gulp']"
}
Function CheckExitCode()