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-1.1.0 node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.10.5 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.10.4 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.10.3 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.10.2 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.10.1 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.10.0 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.10.0.rc2 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.9.4 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.9.3 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.10.0.rc1 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.10.0.beta5 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.10.0.beta4 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.10.0.beta3 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.10.0.beta2 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.10.0.beta1 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.9.2 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.9.0 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.9.0.rc1 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
opal-0.9.0.beta2 stdlib/nodejs/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js