tweak(gulpfile): refine task ordering

This commit is contained in:
Maddison Hellstrom 2019-03-10 10:31:30 -07:00
parent be1edbff68
commit a7297cb25a
1 changed files with 5 additions and 3 deletions

View File

@ -215,14 +215,16 @@ gulp.task("docs-full", parallel("docs", "favicons"))
gulp.task("build",
series(
parallel(/* "check-priv", */"clean", "lint", "lint-gulpfile", "docs-full"),
() => gulp
parallel(/* "check-priv", */"clean"),
parallel("lint", "lint-gulpfile", () => gulp
.src(paths.entry, { read: false })
.pipe(parcel())
.pipe(rename(".surfingkeys"))
.pipe(gulp.dest("build"))
.pipe(gulp.dest("build")))
))
gulp.task("dist", parallel("docs-full", "build"))
gulp.task("install",
series("build",
() => gulp.src("build/.surfingkeys").pipe(gulp.dest(os.homedir()))))