Created
December 20, 2014 11:50
-
-
Save jvanderbiest/f39f7c46b71369aea8ac to your computer and use it in GitHub Desktop.
Batch file to execute Grunt on build server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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