diff --git a/gulp/clean.js b/gulp/clean.js index ffe3a9579..61d8ca426 100644 --- a/gulp/clean.js +++ b/gulp/clean.js @@ -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); }); diff --git a/package.json b/package.json index 88b4a5f40..252b5f111 100644 --- a/package.json +++ b/package.json @@ -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",