0.4.1 • Published 10 years ago
gulp-tarima v0.4.1
Tarima for Gulp
$ npm install gulp-tarima --savegulpfile.js
var gulp = require('gulp'),
tarima = require('gulp-tarima');
// one-to-one
gulp.task('raw', function() {
return gulp.src('src/views/**/*.*')
.pipe(tarima())
.pipe(gulp.dest('tmp_views'));
});
// bundle
gulp.task('join', function() {
return gulp.src('spec/views/**/*.js.*')
.pipe(tarima('sub/path/views.js'))
.pipe(gulp.dest('tmp_views'));
});API
tarima(options)tarima(filename, callback)When
filenameis provided it will be used asoptions.filenameWhen
callbackis provided it will be used asoptions.wrapperif missing.
Options
Please checkout the Tarima's README at GitHub.
All options will be passed directly to the
parse()andbundle()method respectively.


