Permalink
Browse files

Build: Adapt to new folder structure of moxie binaries.

  • Loading branch information...
jayarjo committed Feb 16, 2013
1 parent f0e3d30 commit 62aadd2396094f12331b633b03ce9610b293f46d
Showing with 7 additions and 6 deletions.
  1. +4 −3 Jakefile.js
  2. +2 −2 build/BuildTools.js
  3. +1 −1 build/headnote.txt
View
@@ -50,9 +50,10 @@ task("minifyjs", ["moxie"], function (params) {
fs.mkdirSync(targetDir, 0755);
// Copy compiled moxie files
- tools.copySync(moxieDir + "/js/Moxie.swf", "js/Moxie.swf");
- tools.copySync(moxieDir + "/js/Moxie.xap", "js/Moxie.xap");
- tools.copySync(moxieDir + "/js/moxie.min.js", "js/moxie.min.js");
+ tools.copySync(moxieDir + "/bin/flash/Moxie.swf", "js/Moxie.swf");
+ tools.copySync(moxieDir + "/bin/silverlight/Moxie.xap", "js/Moxie.xap");
+ tools.copySync(moxieDir + "/bin/js/moxie.min.js", "js/moxie.min.js");
+ tools.copySync(moxieDir + "/bin/js/moxie.js", "js/moxie.js");
// Copy UI Plupload
wrench.copyDirSyncRecursive("./src/jquery.ui.plupload", targetDir + "/jquery.ui.plupload", {});
View
@@ -319,7 +319,7 @@ exports.rmDir = function(dirPath) {
// extract version details from chengelog.txt
exports.getReleaseInfo = function (srcPath) {
- if (!path.existsSync(srcPath)) {
+ if (!fs.existsSync(srcPath)) {
console.info(srcPath + " cannot be found.");
process.exit(1);
}
@@ -363,7 +363,7 @@ exports.addReleaseDetailsTo = function (destPath, info) {
return /\.(js|txt)$/.filePath;
}
- if (path.existsSync(headNotePath)) {
+ if (fs.existsSync(headNotePath)) {
headNote = fs.readFileSync(headNotePath).toString();
}
View
@@ -2,7 +2,7 @@
* Plupload - multi-runtime File Uploader
* v@@version@@
*
- * Copyright 2012, Moxiecode Systems AB
+ * Copyright 2013, Moxiecode Systems AB
* Released under GPL License.
*
* License: http://www.plupload.com/license

0 comments on commit 62aadd2

Please sign in to comment.