ausybenelux / Ocelot

Ocelot is a theming starter kit for drupal 7.
5 stars 2 forks source link

Change default task. #170

Open sqndr opened 9 years ago

sqndr commented 9 years ago

Currently, the default task is the watch task. This feels like kinda odd behaviour, when typing gulp, I propose we show a list of available tasks.

driesd commented 9 years ago

+1

rob-bar commented 8 years ago

The default task is not just the watch task. I think the gulp command should contain everything to get you up and running, by using this approach we can make the user type in one command that does it all.

That command contains these steps in this order: "help" // To first output the help, so you can see what you can do. It's a good idea to output the info on the default task "install" // installs and copies the right files "compile" // compiles all high level languages "serve" // serves the site by a webserver "watch" // watch for changes on the fly

For server build commands we should create other extra commands gulp acc, gulp stage, gulp prod, that leaves out help serve and watch.