Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js

Issue 800513006: Added vulcanize under third_party/npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
diff --git a/node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js b/node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
new file mode 100644
index 0000000000000000000000000000000000000000..6eaead88b6312bc0c779b51c20c4d45f878377ab
--- /dev/null
+++ b/node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/underscore.string/gulpfile.js
@@ -0,0 +1,26 @@
+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));
+});

Powered by Google App Engine
This is Rietveld 408576698