Hi all,
I can at last try out RapydScript in my project :) So I'd like to integrate it with my gulp workflow(1).
I didn't find an existed plugin so I looked at the gulp-coffee plugin to see how it's done.
https://github.com/wearefractal/gulp-coffee/blob/master/index.js It's a node program, so they first require coffee-script:
var coffee = require('coffee-script');and then compile the sources with a call to coffee.compile:
data = coffee.compile(str, options);I fired a node console, imported rapydscript, and… didn't find a "compile" equivalent.
So how shall I do that ? Is there an equivalent of "compile" ?
Does anyone has integrated rapyd to his gulp/grunt/... workflow ? (how do you compile the sources and watch for changes, only from the command line ?)
Thanks !
Vincent
(1) gulp:
https://github.com/gulpjs/gulp