Skip to content

Instantly share code, notes, and snippets.

@justinmc
Last active March 29, 2016 04:59
Show Gist options
  • Select an option

  • Save justinmc/9179801 to your computer and use it in GitHub Desktop.

Select an option

Save justinmc/9179801 to your computer and use it in GitHub Desktop.
Sample Gulpfile - Copying Files
var gulp = require('gulp');
var paths = {
scripts: ['app/scripts/**/*.js'],
html: ['app/index.html', '!app/test.html'],
dist: 'dist/'
};
gulp.task('default', function(){
gulp.src(paths.scripts.concat(paths.html))
.pipe(gulp.dest(paths.dist));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment