xmake: a JavaScript make-like utility
Date : 2008 05 14 Category : Tech & DevelopmentPeter Michaux has created a make, or rake-like utility for JavaScript called xmake.
You create a Xmakefile.js such as
PLAIN TEXT JAVASCRIPT:/ defines println require('helpers'); xmake.task('low', function() { println('low'); }); xmake.task('mid1', ['low'], function() { println('mid1'); }); xmake.task('mid2', ['low'], function() { println('mid2'); }); xmake.task('high', ['mid1', 'mid2'], function() { println('high'); });
And you run it via:
xmake [-f filename] taskname
This works with xjs, the server side JavaScript framework Peter is building. We are seeing a spur in these types of libraries as people do more on the server-side.