replaced rimraf with del

This commit is contained in:
Keivan Beigi 2014-11-19 16:42:55 -08:00
parent 9905ce88e3
commit 2ebc29cd92
2 changed files with 7 additions and 8 deletions

View File

@ -1,9 +1,8 @@
var gulp = require('gulp');
var rimraf = require('gulp-rimraf');
var del = require('del');
var paths = require('./paths');
gulp.task('clean', function () {
return gulp.src(paths.dest.root, {read: false})
.pipe(rimraf());
gulp.task('clean', function (cb) {
del([paths.dest.root], cb);
});

View File

@ -1,14 +1,14 @@
{
"name": "NzbDrone",
"name": "Sonarr",
"version": "0.0.0",
"description": "NZBDrone",
"description": "Sonarr",
"main": "index.js",
"scripts": {
"preinstall": ""
},
"repository": {
"type": "git",
"url": "git://github.com/NzbDrone/NzbDrone.git"
"url": "git://github.com/Sonarr/Sonarr.git"
},
"author": "",
"license": "BSD",
@ -18,7 +18,7 @@
"fs-extra": "0.12.0",
"gulp": "3.8.10",
"gulp-cached": "1.0.1",
"gulp-rimraf": "0.1.1",
"del": "0.1.3",
"gulp-concat": "2.4.2",
"gulp-declare": "0.3.0",
"gulp-handlebars": "2.2.0",