summaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2015-06-11 01:07:59 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2015-06-11 01:07:59 +0200
commit843c0f5b0f7140c4d46d92293c2c18767d070f69 (patch)
treee123f0649d4ebe9bc6b37cd18da8aca4ab38142c /gulpfile.js
parentd5f5dd18a6c9d986dd0582256e2120675e1ca561 (diff)
downloadsvg.js-843c0f5b0f7140c4d46d92293c2c18767d070f69.tar.gz
svg.js-843c0f5b0f7140c4d46d92293c2c18767d070f69.zip
Merged all changes and fixes from SVG 1.1 into this branch
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 0337e7b..fe8b0b3 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -1,9 +1,9 @@
-var gulp = require('gulp')
+var del = require('del')
+ , gulp = require('gulp')
, concat = require('gulp-concat')
, header = require('gulp-header')
, jasmine = require('gulp-jasmine')
, rename = require('gulp-rename')
- , rimraf = require('gulp-rimraf')
, size = require('gulp-size')
, uglify = require('gulp-uglify')
, wrapUmd = require('gulp-wrap-umd')
@@ -12,6 +12,7 @@ var gulp = require('gulp')
, fs = require('fs')
, pkg = require('./package.json')
+
var headerLong = ['/*!'
, '* <%= pkg.name %> - <%= pkg.description %>'
, '* @version <%= pkg.version %>'
@@ -80,9 +81,8 @@ var parts = [
, 'src/polyfill.js'
]
-gulp.task('clean', function() {
- return gulp.src('dist/*', { read: false }) // faster
- .pipe(rimraf())
+gulp.task('clean', function(cb) {
+ del([ 'dist/*' ], cb);
})
/**