mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
Fixed a bug with "grunt publish"; was using the wrong paths
This commit is contained in:
parent
d2b9257bc4
commit
6b492f395d
@ -135,7 +135,11 @@ module.exports = function(grunt) {
|
|||||||
// Copies the contents of the build folder into ../site-build.
|
// Copies the contents of the build folder into ../site-build.
|
||||||
grunt.registerTask("copy:release", function() {
|
grunt.registerTask("copy:release", function() {
|
||||||
grunt.file.recurse("build", function(abspath, rootdir, subdir, filename) {
|
grunt.file.recurse("build", function(abspath, rootdir, subdir, filename) {
|
||||||
grunt.file.copy(abspath, "../site-build/" + (subdir || "") + filename);
|
var dest = "../site-build/"
|
||||||
|
+ (subdir ? subdir + "/" : "")
|
||||||
|
+ filename;
|
||||||
|
|
||||||
|
grunt.file.copy(abspath, dest);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user