mirror of
https://github.com/Mibew/real-ban-plugin.git
synced 2024-11-15 08:54:12 +03:00
Switch go Gulp 4 for builds
This commit is contained in:
parent
446a513f7a
commit
88990aa760
@ -16,14 +16,12 @@ gulp.task('prepare-release', function() {
|
|||||||
.pipe(tar('real-ban-plugin-' + version + '.tar'))
|
.pipe(tar('real-ban-plugin-' + version + '.tar'))
|
||||||
.pipe(gzip())
|
.pipe(gzip())
|
||||||
)
|
)
|
||||||
.pipe(chmod(644))
|
.pipe(chmod(0644))
|
||||||
.pipe(gulp.dest('release'));
|
.pipe(gulp.dest('release'));
|
||||||
});
|
});
|
||||||
|
|
||||||
// Builds and packs plugins sources
|
// Builds and packs plugins sources
|
||||||
gulp.task('default', ['prepare-release'], function() {
|
gulp.task('default', gulp.series('prepare-release'));
|
||||||
// The "default" task is just an alias for "prepare-release" task.
|
|
||||||
});
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns files stream with the plugin sources.
|
* Returns files stream with the plugin sources.
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"gulp": "~3.8.10",
|
"gulp": "~4.0.0",
|
||||||
"event-stream": "~3.1.7",
|
"event-stream": "~3.1.7",
|
||||||
"gulp-zip": "~2.0.2",
|
"gulp-zip": "~2.0.2",
|
||||||
"gulp-tar": "~1.3.1",
|
"gulp-tar": "~3.1.0",
|
||||||
"gulp-gzip": "~0.0.8",
|
"gulp-gzip": "~0.0.8",
|
||||||
"gulp-chmod": "~1.2.0",
|
"gulp-chmod": "~3.0.0",
|
||||||
"gulp-rename": "~1.2.0"
|
"gulp-rename": "~1.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user