replaced rimraf with del

pull/3113/head
Keivan Beigi 10 years ago
parent 9905ce88e3
commit 2ebc29cd92

@ -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);
});

@ -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",

Loading…
Cancel
Save