Skip to content
Snippets Groups Projects
Commit 7a9e5035 authored by Chris Hallberg's avatar Chris Hallberg Committed by Robert Lange
Browse files

Add grunt default task that explains the different commands.

parent f2798785
Branches
Tags
No related merge requests found
......@@ -244,4 +244,17 @@ module.exports = function(grunt) {
grunt.task.run('sass');
});
grunt.registerTask('default', ['scss']);
grunt.registerTask('default', function help() {
grunt.log.writeln(`\nHello! Here are your grunt command options:
- grunt less = compile and compress all themes' LESS files to css.
- grunt scss = compile and map all themes' SASS files to css.
- grunt lessdev = compile and map all themes' LESS files to css.
- grunt watch:[cmd] = continuous monitor source files and run command when changes are detected.
- grunt watch:less
- grunt watch:scss
- grunt watch:lessdev
- grunt lessToSass = transpile all LESS files to SASS.`);
});
};
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment