From d34c47c1672a63eff79ae5b7562e36631e4c58bb Mon Sep 17 00:00:00 2001 From: Martin Carlberg Date: Tue, 21 Sep 2021 20:49:05 +0200 Subject: [PATCH] Fixed: Use preset variable from common.jake for build directory --- Jakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jakefile b/Jakefile index 39861b755..0c02157ea 100644 --- a/Jakefile +++ b/Jakefile @@ -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"].map(utilsFile.enquote).join(" "), {stdio: 'inherit'}); - childProcess.execSync(['ln', '-sf', '"$PWD"/node_modules', '"$CAPP_BUILD"'].join(" "), {stdio: 'inherit'}); + childProcess.execSync(["mkdir", "-p", $BUILD_DIR].map(utilsFile.enquote).join(" "), {stdio: 'inherit'}); + childProcess.execSync(['ln', '-sf', '"$PWD"/node_modules', utilsFile.enquote($BUILD_DIR)].join(" "), {stdio: 'inherit'}); }); ["build", "clean", "clobber"].forEach(function(aTaskName)