Skip to content

Instantly share code, notes, and snippets.

@jvanderbiest
Created December 20, 2014 11:50
Show Gist options
  • Save jvanderbiest/f39f7c46b71369aea8ac to your computer and use it in GitHub Desktop.
Save jvanderbiest/f39f7c46b71369aea8ac to your computer and use it in GitHub Desktop.
Batch file to execute Grunt on build server
set TaskName=%1
set ProjectPath=%2
echo 'starting gruntCI.bat'
cd "%ProjectPath%"
REM Get to the solution root.
cd ..
attrib -r /S
cd "node_modules\.bin\"
call grunt.cmd %TaskName% --force
echo 'finished gruntCI.bat'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment