Permalink
Browse files

Created a combined sources file so people can pull into external proj…

…ects. fixes #287
  • Loading branch information...
1 parent 07d03e1 commit fc97d6ece465bf71692fc6fac584755de994ff00 @heff heff committed Jan 21, 2013
Showing with 8 additions and 0 deletions.
  1. +8 −0 Gruntfile.js
View
@@ -80,6 +80,14 @@ module.exports = function(grunt) {
if (results) {
grunt.file.write('dist/sourcelist.txt', results.join(','));
grunt.file.write('dist/sourcelist.js', 'var sourcelist = ["' + results.join('","') + '"]');
+
+ // Create a combined sources file
+ // https://github.com/zencoder/video-js/issues/287
+ var combined = '';
+ results.forEach(function(result){
+ combined += grunt.file.read(result);
+ });
+ grunt.file.write('dist/source.video.js', combined);
}
done();

0 comments on commit fc97d6e

Please sign in to comment.