Created
November 7, 2014 16:20
-
-
Save boo1ean/b034fc4f10e544b8aefe to your computer and use it in GitHub Desktop.
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
function compile_scripts (scripts, dest, dist) { | |
return new Promise(function (resolve, reject) { | |
gulp.src(scripts) | |
.pipe(concat(dist)) | |
.pipe(gulp.dest(dest)) | |
.on('error', reject) | |
.on('end', resolve); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment