Skip to content

Commit

Permalink
Install GPU.js v2.3.1 (#1374)
Browse files Browse the repository at this point in the history
* fix: Upgrade GPU.js to v2.3.0 and handle browserifying it

* fix?

* fiiix

* fix

* fix tests browserify

Co-authored-by: Robert Plummer <robertleeplummerjr@gmail.com>
  • Loading branch information
2 people authored and jywarren committed Dec 21, 2019
1 parent 6476b8d commit c370a8b
Show file tree
Hide file tree
Showing 10 changed files with 3,221 additions and 3,214 deletions.
11 changes: 11 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ module.exports = function(grunt) {
},

browserify: {
options: {
alias: {
'gpu.js': './node_modules/gpu.js/src/index.js'
}
},
core: {
src: ['src/ImageSequencer.js'],
dest: 'dist/image-sequencer.js'
Expand All @@ -36,6 +41,10 @@ module.exports = function(grunt) {
produi: {
src: ['examples/demo.js'],
dest: 'dist/image-sequencer-ui.brow.js'
},
tests: {
src: ['test/core/sequencer/meta-modules.js', 'test/core/sequencer/image-sequencer.js', 'test/core/sequencer/chain.js', 'test/core/sequencer/replace.js', 'test/core/sequencer/import-export.js', 'test/core/sequencer/run.js', 'test/core/sequencer/dynamic-imports.js', 'test/core/util/*.js'],
dest: './output/core-tests.js'
}
},

Expand Down Expand Up @@ -73,4 +82,6 @@ module.exports = function(grunt) {
grunt.registerTask('serve', ['browserify:core', 'browserify:ui', 'browserSync', 'watch']);
grunt.registerTask('compile', ['browserify:core', 'browserify:ui']);
grunt.registerTask('production', ['browserify:prodcore', 'browserify:produi', 'uglify:prodcore', 'uglify:produi']);

grunt.registerTask('tests', ['browserify:tests']);
};
Loading

0 comments on commit c370a8b

Please sign in to comment.