Last active
March 29, 2016 04:59
-
-
Save justinmc/9179801 to your computer and use it in GitHub Desktop.
Sample Gulpfile - Copying Files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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