grunt.js build system

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

grunt.js build system

Manfred Kröhnert
Hi all,

earlier today a first working version of the NodeJS based Amber compiler has been merged into master and is ready for experimentation.
Currently it consists of two parts:

* bin/amberc.js: a NodeJS module containing the AmberC prototype function which can be used to create an instance of the compiler
* bin/amberc:     a NodeJS script which creates an instance of AmberC and initializes it correctly

Further plans are to move command-line parameter handling from amberc.js to amberc to provide a cleaner interface to AmberC.
The previous amberc script is still available as bin/amberc.sh together with its companion script bin/nodecompile.js.

Depending on the new compiler I expanded the initial grunt.js [1] build script provided in a pull-request by JohnnyT [2].
This is now much easier, since the compiler can be loaded as a NodeJS module.
If anyone is interested in playing with it or sending patches/recommendations have a look at my grunt branch on GitHub [3].

Best,
Manfred


Reply | Threaded
Open this post in threaded view
|

Re: grunt.js build system

Nicolas Petton

cool!

Nico

Manfred Kröhnert <[hidden email]> writes:

> Hi all,
>
> earlier today a first working version of the NodeJS based Amber compiler
> has been merged into master and is ready for experimentation.
> Currently it consists of two parts:
>
> * bin/amberc.js: a NodeJS module containing the AmberC prototype function
> which can be used to create an instance of the compiler
> * bin/amberc:     a NodeJS script which creates an instance of AmberC and
> initializes it correctly
>
> Further plans are to move command-line parameter handling from amberc.js to
> amberc to provide a cleaner interface to AmberC.
> The previous amberc script is still available as bin/amberc.sh together
> with its companion script bin/nodecompile.js.
>
> Depending on the new compiler I expanded the initial grunt.js [1] build
> script provided in a pull-request by JohnnyT [2].
> This is now much easier, since the compiler can be loaded as a NodeJS
> module.
> If anyone is interested in playing with it or sending
> patches/recommendations have a look at my grunt branch on GitHub [3].
>
> Best,
> Manfred
>
>
>   [1] http://gruntjs.com/
>   [2] https://github.com/NicolasPetton/amber/pull/242
>   [3] https://github.com/mkroehnert/amber/tree/grunt

--
Nicolas Petton
http://nicolas-petton.fr