[Pkg-javascript-commits] [sockjs-client] 234/350: Add gulp task for test bundle with source maps
tonnerre at ancient-solutions.com
tonnerre at ancient-solutions.com
Fri Aug 5 01:04:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
tonnerre-guest pushed a commit to branch upstream
in repository sockjs-client.
commit 5361aa5639d8923753367ea65de90edd0559f368
Author: Bryce Kahle <bkahle at gmail.com>
Date: Fri Oct 24 14:19:42 2014 -0400
Add gulp task for test bundle with source maps
---
gulpfile.js | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gulpfile.js b/gulpfile.js
index b0146ff..2628a39 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -48,6 +48,16 @@ gulp.task('testbundle', ['browserify:min'], function() {
.pipe(gulp.dest('./tests/html/lib/'));
});
+gulp.task('testbundle-debug', ['browserify'], function() {
+ gulp.src('./build/sockjs.js')
+ .pipe(rename('sockjs.js'))
+ .pipe(gulp.dest('./tests/html/lib/'));
+
+ return gulp.src('./build/sockjs.js.map')
+ .pipe(rename('sockjs.js.map'))
+ .pipe(gulp.dest('./tests/html/lib/'));
+});
+
gulp.task('browserify', function () {
return browserify(util._extend({
debug: true
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git
More information about the Pkg-javascript-commits
mailing list