Skip to content

Instantly share code, notes, and snippets.

@evillemez
Created May 29, 2014 21:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evillemez/437407c9f5f0c9d572c9 to your computer and use it in GitHub Desktop.
Save evillemez/437407c9f5f0c9d572c9 to your computer and use it in GitHub Desktop.
gulp.task('build:bundles', function() {
var promises = [];
glob.sync('bundles/*/*/').forEach(function(dir) {
promises.push(cubeBuildBundle(dir, 'build/'+dir));
});
return Q.all(promises);
});
gulp.task('build:apps:dev', ['build:bundles'], function() {
var promises = [];
['apps/examinee/','apps/monitor/'].forEach(function(src) {
promises.push(cubeBuildDevApp(src, 'build/apps/dev/'+path.basename(src)));
});
return Q.all(promises);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment