Closed themenow closed 6 years ago
The goal is to have multiple projects share the same "grunt/" folder, and register different task 'build', so:
For project A
build: - 'lint' - 'mocha' - 'notify'
For project B
build: - 'lint' - 'copy' - 'notify'
It's neat if the aliases can be placed in the same folder of gruntfile (the project root), or I don't know if there is a way to pass tasks list like
grunt.registertask('build', tasks_list) // here tasks_list is defined in gruntfile.js
Well, just register task in gruntfile.js will do. Cool new weapon but the old weapon still works, my silly question :)
The goal is to have multiple projects share the same "grunt/" folder, and register different task 'build', so:
For project A
For project B
It's neat if the aliases can be placed in the same folder of gruntfile (the project root), or I don't know if there is a way to pass tasks list like
grunt.registertask('build', tasks_list) // here tasks_list is defined in gruntfile.js