From 7a9e50359f23274247f9c8bca23ff0328af35ce2 Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Fri, 4 Oct 2019 12:55:24 -0400 Subject: [PATCH] Add grunt default task that explains the different commands. --- Gruntfile.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index 7b8ac2951f9..4e4b8e68f0b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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.`); + }); }; -- GitLab