Skip to content

Commit

Permalink
Added missing callback calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim committed Aug 22, 2014
1 parent f161fb5 commit 5deda8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion builder/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,17 +369,18 @@ var tarGz = createArchiver("tar.gz", function() {

function copyToLib() {
copyFilesRecursive(uncompressedBuildDir, "lib/");
callback();
}

function copyToRelease() {
var destDir = "../rangy-release/";
if (fs.existsSync(destDir)) {
copyFiles(zipDir, destDir, false, function(filePath) {
console.log(filePath.replace(/\.js$/, ".min.js"))
return filePath.replace(/\.js$/, ".min.js");
});
copyFiles(uncompressedBuildDir, destDir);
}
callback();
}

/*--------------------------------------------------------------------------------------------------------------------*/
Expand Down

0 comments on commit 5deda8d

Please sign in to comment.