mirror of
				https://github.com/home-assistant/frontend.git
				synced 2025-10-31 14:39:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			40 lines
		
	
	
		
			941 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			941 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| const del = require("del");
 | |
| const gulp = require("gulp");
 | |
| const config = require("../paths");
 | |
| require("./translations");
 | |
| 
 | |
| gulp.task(
 | |
|   "clean",
 | |
|   gulp.parallel("clean-translations", function cleanOutputAndBuildDir() {
 | |
|     return del([config.root, config.build_dir]);
 | |
|   })
 | |
| );
 | |
| 
 | |
| gulp.task(
 | |
|   "clean-demo",
 | |
|   gulp.parallel("clean-translations", function cleanOutputAndBuildDir() {
 | |
|     return del([config.demo_root, config.build_dir]);
 | |
|   })
 | |
| );
 | |
| 
 | |
| gulp.task(
 | |
|   "clean-cast",
 | |
|   gulp.parallel("clean-translations", function cleanOutputAndBuildDir() {
 | |
|     return del([config.cast_root, config.build_dir]);
 | |
|   })
 | |
| );
 | |
| 
 | |
| gulp.task(
 | |
|   "clean-hassio",
 | |
|   gulp.parallel("clean-translations", function cleanOutputAndBuildDir() {
 | |
|     return del([config.hassio_root, config.build_dir]);
 | |
|   })
 | |
| );
 | |
| 
 | |
| gulp.task(
 | |
|   "clean-gallery",
 | |
|   gulp.parallel("clean-translations", function cleanOutputAndBuildDir() {
 | |
|     return del([config.gallery_root, config.build_dir]);
 | |
|   })
 | |
| );
 | 
