-
-
Notifications
You must be signed in to change notification settings - Fork 69
Command line support #67
Comments
For it to know the time each task takes you would have to specify your run script as arguments to
|
That's not really ideal though because it would mean one massive line of tasks / build configurations. Ideally it would be nice if this plugin was split into two repositories; |
Similar to how a lot of profiler apps works -- just
|
This is kind of how I envisaged using it: "scripts": {
"build": "timegrunt --start 'building...' && npm run clean && npm run js && npm run css",
"postbuild": "timegrunt --render",
"clean": "timegrunt --start 'clean' && rimraf public/dist && timegrunt --end 'clean'",
"js": "timegrunt --start 'js' && mkdirp public/dist/js && browserify resources/assets/js/site.js -o public/dist/js/app.js && timegrunt --end 'js'",
"css": "timegrunt --start 'css' && lessc resources/assets/less/site.less public/dist/css/site.css && timegrunt --end 'css'"
} |
Closing as this project is deprecated because Grunt is no longer actively maintained, so it doesn't make sense for me to maintain this project either. |
It would be cool if you could use this plugin manually via command line, that way you could use it without grunt (if you happen to simply use npm as build tool).
The text was updated successfully, but these errors were encountered: