Merge branch 'dryice_version' into master

This commit is contained in:
nightwing 2012-10-27 00:48:54 +04:00
commit ce27f97ce9
3 changed files with 10 additions and 6 deletions

View file

@ -30,8 +30,11 @@
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
var fs = require("fs"); var fs = require("fs");
var path = require("path");
if (!fs.existsSync) if (!fs.existsSync)
fs.existsSync = require("path").existsSync; fs.existsSync = path.existsSync;
else
path.existsSync = fs.existsSync;
var copy = require('dryice').copy; var copy = require('dryice').copy;
var ACE_HOME = __dirname; var ACE_HOME = __dirname;

View file

@ -61,8 +61,9 @@ try {
suffix: "", suffix: "",
name: "ace" name: "ace"
}); });
} catch (e) {
console.log("--- Ace Build error ---"); } catch (err) {
console.log(e); console.error("--- Ace Build error ---");
process.exit(0); console.error(err.stack);
process.exit(1);
} }

View file

@ -15,7 +15,7 @@
"asyncjs": "0.0.x", "asyncjs": "0.0.x",
"jsdom": "0.2.x", "jsdom": "0.2.x",
"amd-loader": "~0.0.4", "amd-loader": "~0.0.4",
"dryice": "" "dryice": "0.4.7"
}, },
"mappings": { "mappings": {
"ace": "." "ace": "."