Skip to content

Commit

Permalink
Fixing "gulp dist" task -Thx @visualmodo
Browse files Browse the repository at this point in the history
  • Loading branch information
holger1411 committed Nov 15, 2016
1 parent 71a63f3 commit 3b12c09
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,10 @@ gulp.task('copy-assets', function() {
.pipe(gulp.dest(basePaths.dev + '/css'));
});

// Run // gulp dist // Copies the files to the dist folder for distributon
gulp.task('dist', function() {
gulp.src(['!sass','!bower_components', '!node_modules','!src','!dist','!bower.json', '!gulpfile.js', '!package.json', '*'])
.pipe(gulp.dest('dist/'))
// Run
// gulp dist
// Copies the files to the /dist folder for distributon
gulp.task('dist', function() {
gulp.src(['**/*','!sass','!sass/**','!bower_components','!bower_components/**','!node_modules','!node_modules/**','!src','!src/**','!dist','!bower.json', '!gulpfile.js', '!package.json', '*'])
.pipe(gulp.dest('dist/'))
});

0 comments on commit 3b12c09

Please sign in to comment.