mvc-works / one-page

Demo of one page application structure
http://repo.tiye.me/one-page/
0 stars 0 forks source link

Why not Grunt? #1

Open tiye opened 10 years ago

tiye commented 10 years ago

Continue the topic here, why @jiyinyiyong consider Grunt complicated: https://github.com/less/less.js/issues/1171

tiye commented 10 years ago

This repo was using Grunt as build tool for building RequireJS and CSS.

As a Node.js developer, Grunt is writing Grunt plugin could be plain, where it brings extra learning curve of automation, comparing to finish tasks with Node.js scripts. Suppose I want to extend it with my function, in Node, just requiring that script and it's ok. While in Grunt, I have to learn how to make Grunt plugins, how to use Grunt APIs. A bunch of Grunt plugins are merely simple wrappers on Node modules. Why not just using Node?

Fortunately, here comes shelljs/make http://documentup.com/arturadib/shelljs#make-tool