Permalink
Browse files

Fix an issue when building on a vanilla system

  • Loading branch information...
CyrilPeponnet committed Sep 14, 2015
1 parent e53dffe commit f6ec95902bb8d634ffd7ca155f183c5b046abc55
Showing with 2 additions and 2 deletions.
  1. +2 −2 Jakefile
View
@@ -131,15 +131,15 @@ 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 cmdString = "cp strophe.js Resources/Strophe/strophe.js";
+ var cmdString = "mkdir -p Resources/Strophe && cp strophe.js Resources/Strophe/strophe.js";
var code = OS.system(cmdString);
if (code !== 0)
OS.exit(code);
});
task("build-strophe-debug", ["build-strophe"], function()
{
- var cmdString = "mv strophe.js Resources/Strophe/strophe.js";
+ var cmdString = "mkdir -p Resources/Strophe && cp strophe.js Resources/Strophe/strophe.js";
var code = OS.system(cmdString);
if (code !== 0)
OS.exit(code);

0 comments on commit f6ec959

Please sign in to comment.