Sha256: cb69b3d3a3437fba86d0c8c5b612bf5aa4e3dc5d7c75557f0afc9fe9f46b3f76
Contents?: true
Size: 694 Bytes
Versions: 58
Compression:
Stored size: 694 Bytes
Contents
var gulp = require('gulp'), qunit = require("gulp-qunit"), uglify = require('gulp-uglify'), clean = require('gulp-clean'), rename = require('gulp-rename'), SRC = 'lib/underscore.string.js', DEST = 'dist', MIN_FILE = 'underscore.string.min.js', TEST_SUITES = ['test/test.html', 'test/test_underscore/index.html']; gulp.task('test', function() { return gulp.src(TEST_SUITES) .pipe(qunit()); }); gulp.task('clean', function() { return gulp.src(DEST) .pipe(clean()); }); gulp.task('build', ['test', 'clean'], function() { return gulp.src(SRC) .pipe(uglify()) .pipe(rename(MIN_FILE)) .pipe(gulp.dest(DEST)); });
Version data entries
58 entries across 58 versions & 4 rubygems