Wednesday, July 3, 2013

run a Grunt script

If you have Grunt installed at node as suggested here, you may run a Grunt script merely by typing the name of the file at a command prompt (in Windows 7) once you've navigated to the folder holding the file. Grunt may turn around and prompt node to procure other dependencies (should it not have them) with code such as:

grunt.loadNpmTasks('grunt-jsduck');

No comments:

Post a Comment