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

Version Path
ela-4.1.6 node_modules/argparse/node_modules/underscore.string/gulpfile.js
ela-4.1.5 node_modules/argparse/node_modules/underscore.string/gulpfile.js
ela-4.1.4 node_modules/argparse/node_modules/underscore.string/gulpfile.js
ela-4.1.3 node_modules/argparse/node_modules/underscore.string/gulpfile.js
ela-4.1.2 node_modules/argparse/node_modules/underscore.string/gulpfile.js
ela-4.1.1 node_modules/argparse/node_modules/underscore.string/gulpfile.js
ela-4.1.0 node_modules/argparse/node_modules/underscore.string/gulpfile.js
ela-4.0.0 node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.10.6 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.10.6.beta stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
ela-3.4.3 node_modules/argparse/node_modules/underscore.string/gulpfile.js
ela-3.4.2 node_modules/argparse/node_modules/underscore.string/gulpfile.js
ela-3.4.0 node_modules/argparse/node_modules/underscore.string/gulpfile.js
ela-3.3.1 node_modules/argparse/node_modules/underscore.string/gulpfile.js
ela-3.3.0 node_modules/argparse/node_modules/underscore.string/gulpfile.js
ela-3.2.0 node_modules/argparse/node_modules/underscore.string/gulpfile.js
ela-3.1.1 node_modules/argparse/node_modules/underscore.string/gulpfile.js
ela-3.1.0 node_modules/argparse/node_modules/underscore.string/gulpfile.js
ela-3.0.0 node_modules/argparse/node_modules/underscore.string/gulpfile.js
ela-2.0.0 node_modules/argparse/node_modules/underscore.string/gulpfile.js