Skip to content

Instantly share code, notes, and snippets.

@ajmalafif
Forked from justinmc/gist:9179801
Created August 4, 2014 09:05
Show Gist options
  • Select an option

  • Save ajmalafif/b21712774d9e31876b2a to your computer and use it in GitHub Desktop.

Select an option

Save ajmalafif/b21712774d9e31876b2a to your computer and use it in GitHub Desktop.
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