mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
Fixed: Missing enquote of path when creating build directory and soft link to node_modules
This commit is contained in:
@@ -10,8 +10,8 @@ const utilsFile = ObjectiveJ.utils.file;
|
||||
var subprojects = ["Objective-J", "CommonJS", "Foundation", "AppKit", "Tools"];
|
||||
|
||||
task ("build", function() {
|
||||
childProcess.execSync("mkdir -p $CAPP_BUILD", {stdio: 'inherit'});
|
||||
childProcess.execSync("ln -snf $PWD/node_modules $CAPP_BUILD/node_modules", {stdio: 'inherit'});
|
||||
childProcess.execSync(["mkdir", "-p", "$CAPP_BUILD"].map(utilsFile.enquote).join(" "), {stdio: 'inherit'});
|
||||
childProcess.execSync(['ln', '-snf', '"$PWD"/node_modules', '"$CAPP_BUILD"/node_modules'].join(" "), {stdio: 'inherit'});
|
||||
});
|
||||
|
||||
["build", "clean", "clobber"].forEach(function(aTaskName)
|
||||
|
||||
Reference in New Issue
Block a user