Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 703 Bytes

File metadata and controls

45 lines (35 loc) · 703 Bytes

Information

Package gulp-opal
Description A gulp plugin convert Ruby to Javascript(by Opal)
Opal Version 0.7.1
Node Version >= 0.12

Usage

var opal = require('gulp-opal')
var gutil = require('gulp-util');

gulp.task('opal', function() {
  gulp.src('./src/*.rb')
    .pipe(opal().on('error', gutil.log))
    .pipe(gulp.dest('./build/'))
});

License

MIT license

About Opal

Opal is a ruby to javascript transpiler.

Copyright (C) 2013 by Adam Beynon

https://github.com/opal/opal