mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 06:36:11 +03:00
Grunt now copies the images into the build folder
This commit is contained in:
parent
75bb765ca0
commit
cd765581e6
9
grunt.js
9
grunt.js
@ -86,8 +86,15 @@ module.exports = function(grunt) {
|
||||
}
|
||||
});
|
||||
|
||||
// Copy task.
|
||||
grunt.registerTask("copy", function() {
|
||||
grunt.file.recurse("images", function(abspath, rootdir, subdir, filename) {
|
||||
grunt.file.copy(abspath, "build/images/" + (subdir || "") + filename);
|
||||
});
|
||||
});
|
||||
|
||||
// Default task.
|
||||
grunt.registerTask("default", "lint:beforeconcat concat lint:afterconcat min");
|
||||
grunt.registerTask("default", "lint:beforeconcat concat lint:afterconcat min copy");
|
||||
|
||||
// Test task.
|
||||
grunt.registerTask("test", "default server qunit");
|
||||
|
Loading…
Reference in New Issue
Block a user