mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
Fixed: Create soft link to node_modules in a simpler way
This commit is contained in:
@@ -11,7 +11,7 @@ var subprojects = ["Objective-J", "CommonJS", "Foundation", "AppKit", "Tools"];
|
||||
|
||||
task ("build", function() {
|
||||
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'});
|
||||
childProcess.execSync(['ln', '-sf', '"$PWD"/node_modules', '"$CAPP_BUILD"'].join(" "), {stdio: 'inherit'});
|
||||
});
|
||||
|
||||
["build", "clean", "clobber"].forEach(function(aTaskName)
|
||||
|
||||
Reference in New Issue
Block a user