mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-24 13:27:22 +00:00
37 lines
727 B
JavaScript
37 lines
727 B
JavaScript
const del = require("del");
|
|
const gulp = require("gulp");
|
|
const paths = require("../paths");
|
|
require("./translations");
|
|
|
|
gulp.task(
|
|
"clean",
|
|
gulp.parallel("clean-translations", () =>
|
|
del([paths.app_output_root, paths.build_dir])
|
|
)
|
|
);
|
|
|
|
gulp.task(
|
|
"clean-demo",
|
|
gulp.parallel("clean-translations", () =>
|
|
del([paths.demo_output_root, paths.build_dir])
|
|
)
|
|
);
|
|
|
|
gulp.task(
|
|
"clean-cast",
|
|
gulp.parallel("clean-translations", () =>
|
|
del([paths.cast_output_root, paths.build_dir])
|
|
)
|
|
);
|
|
|
|
gulp.task("clean-hassio", () =>
|
|
del([paths.hassio_output_root, paths.build_dir])
|
|
);
|
|
|
|
gulp.task(
|
|
"clean-gallery",
|
|
gulp.parallel("clean-translations", () =>
|
|
del([paths.gallery_output_root, paths.build_dir])
|
|
)
|
|
);
|