|
|
@ -55,8 +55,7 @@ async function wipe() { |
|
|
|
|
|
|
|
|
|
|
|
//wipe db shit
|
|
|
|
//wipe db shit
|
|
|
|
await Promise.all([ |
|
|
|
await Promise.all([ |
|
|
|
cache.deletePattern('board_*'), |
|
|
|
cache.deletePattern('*'), |
|
|
|
cache.deletePattern('banners_*'), |
|
|
|
|
|
|
|
Captchas.deleteAll(), |
|
|
|
Captchas.deleteAll(), |
|
|
|
Ratelimits.deleteAll(), |
|
|
|
Ratelimits.deleteAll(), |
|
|
|
Accounts.deleteAll(), |
|
|
|
Accounts.deleteAll(), |
|
|
@ -195,7 +194,7 @@ function scripts() { |
|
|
|
.pipe(gulp.dest(paths.scripts.dest)); |
|
|
|
.pipe(gulp.dest(paths.scripts.dest)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const build = gulp.parallel(cache, css, scripts, images, gulp.series(deletehtml, custompages)); |
|
|
|
const build = gulp.parallel(css, scripts, images, gulp.series(deletehtml, custompages)); |
|
|
|
const reset = gulp.parallel(wipe, build); |
|
|
|
const reset = gulp.parallel(wipe, build); |
|
|
|
const html = gulp.series(deletehtml, custompages); |
|
|
|
const html = gulp.series(deletehtml, custompages); |
|
|
|
|
|
|
|
|
|
|
|