mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-29 23:12:39 +01:00
replaced rimraf with del
This commit is contained in:
parent
9905ce88e3
commit
2ebc29cd92
@ -1,9 +1,8 @@
|
|||||||
var gulp = require('gulp');
|
var gulp = require('gulp');
|
||||||
var rimraf = require('gulp-rimraf');
|
var del = require('del');
|
||||||
|
|
||||||
var paths = require('./paths');
|
var paths = require('./paths');
|
||||||
|
|
||||||
gulp.task('clean', function () {
|
gulp.task('clean', function (cb) {
|
||||||
return gulp.src(paths.dest.root, {read: false})
|
del([paths.dest.root], cb);
|
||||||
.pipe(rimraf());
|
|
||||||
});
|
});
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
{
|
{
|
||||||
"name": "NzbDrone",
|
"name": "Sonarr",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"description": "NZBDrone",
|
"description": "Sonarr",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"preinstall": ""
|
"preinstall": ""
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git://github.com/NzbDrone/NzbDrone.git"
|
"url": "git://github.com/Sonarr/Sonarr.git"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "BSD",
|
"license": "BSD",
|
||||||
@ -18,7 +18,7 @@
|
|||||||
"fs-extra": "0.12.0",
|
"fs-extra": "0.12.0",
|
||||||
"gulp": "3.8.10",
|
"gulp": "3.8.10",
|
||||||
"gulp-cached": "1.0.1",
|
"gulp-cached": "1.0.1",
|
||||||
"gulp-rimraf": "0.1.1",
|
"del": "0.1.3",
|
||||||
"gulp-concat": "2.4.2",
|
"gulp-concat": "2.4.2",
|
||||||
"gulp-declare": "0.3.0",
|
"gulp-declare": "0.3.0",
|
||||||
"gulp-handlebars": "2.2.0",
|
"gulp-handlebars": "2.2.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user