On Mon, Feb 22, 2016 at 6:38 PM, Adrian Haarbach <adrel...@gmail.com> wrote:

>
>
> *Then to install all dependencies and run, just do:*
>
> npm install -g grunt-cli
> npm install   //installs dependencies listed in package.json into
> node_modules folder
> grunt //runs default http-server:dev job
>
>
>
> The recompiler and reloader for dev jobs and additionally concatenator and
> uglifiers/minifiers for dist jobs can also be added as simple grunt tasks.
> There are lots of plugins for these tasks.
>
> Looking forward to ditch ./generate.py in favor of a simple and faster
> grunt job!
>

Just as a quick reminder, as I'm not sure everybody is aware of this:

Until not so long ago the qooxdoo repo had a fair amount of code to utilize
Grunt as the new build tool, aiming to replace the Generator. This support
has then be cut back to the utmost minimum somewhen last year, but the full
code is still available in the 'next' repo,

  https://github.com/qooxdoo/next/tree/master/tool/grunt

It already implemented the core Generator jobs in JS, making use of the
Node ecosystem of libraries. IIRC this included 'source' and 'build' jobs,
together with dependency analysis, resource handling and loader generation.
Jobs not already implemented in JS are transparently passed through to the
old  Generator, allowing for a stepwise replacement of the Python
implementation while still providing the full functionality all the time.

I could see Grunt being a command-line frontend for the jobs, with
QxCompiler remaining a pure API-based library which is included as a
dependency and utilized from Grunt files.

Even if you feel the code in qooxdoo.next is too 'Grunt-heavy', or would
just like to hack on an all-new, own version of Grunt support (which I can
always understand ;-)), the code in qooxdoo.next might be a good
inspiration to draw from.

T.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to