Skip to content

Commit 57c1302

Browse files
committed
Nice comments in the gulpfile
1 parent 9dcfc63 commit 57c1302

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

gulpfile.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,30 +59,35 @@ gulp.task('banner', function(){
5959
});
6060

6161

62-
//copy tasks
62+
// COPY TASKS
6363

64+
// JS copy
6465
gulp.task('cp:js', function(){
6566
return gulp.src('**/*.js', {cwd:paths().source.js})
6667
.pipe(gulp.dest(paths().public.js));
6768
});
6869

70+
// Images copy
6971
gulp.task('cp:img', function(){
7072
return gulp.src(
7173
[ '**/*.gif', '**/*.png', '**/*.jpg', '**/*.jpeg' ],
7274
{cwd:paths().source.images} )
7375
.pipe(gulp.dest(paths().public.images));
7476
});
7577

78+
// Fonts copy
7679
gulp.task('cp:font', function(){
7780
return gulp.src('*', {cwd:paths().source.fonts})
7881
.pipe(gulp.dest(paths().public.images));
7982
});
8083

84+
// Data copy
8185
gulp.task('cp:data', function(){
8286
return gulp.src('annotations.js', {cwd:paths().source.data})
8387
.pipe(gulp.dest(paths().public.data));
8488
});
8589

90+
// CSS Copy
8691
gulp.task('cp:css', function(){
8792
return gulp.src(path.resolve(paths().source.css, 'style.css'))
8893
.pipe(gulp.dest(paths().public.css))

0 commit comments

Comments
 (0)