Browse files

disable minifier for now

  • Loading branch information...
1 parent b29346b commit 2cb2bd0bc4251acd79a1c61e7248b8e101819f92 @primalmotion primalmotion committed Sep 6, 2012
Showing with 7 additions and 3 deletions.
  1. +7 −3 Jakefile
View
10 Jakefile
@@ -128,9 +128,13 @@ task("build-strophe", function()
task("build-strophe-release", ["build-strophe"], function()
{
- var miniInput = FILE.read(FILE.join("strophe.js"), { charset:"UTF-8" });
- var minified = require("minify/yuicompressor").compress(miniInput, { charset : "UTF-8", useServer : true });
- FILE.path("Resources/Strophe").absolute().join("strophe.js").write(minified, { charset : "UTF-8" });
+ // var miniInput = FILE.read(FILE.join("strophe.js"), { charset:"UTF-8" });
+ // var minified = require("minify/yuicompressor").compress(miniInput, { charset : "UTF-8", useServer : true });
+ // FILE.path("Resources/Strophe").absolute().join("strophe.js").write(minified, { charset : "UTF-8" });
+ var cmdString = "mv strophe.js Resources/Strophe/strophe.js";
+ var code = OS.system(cmdString);
+ if (code !== 0)
+ OS.exit(code);
});
task("build-strophe-debug", ["build-strophe"], function()

0 comments on commit 2cb2bd0

Please sign in to comment.