mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
Fixed: Build in project home directory if no environment variables are set
Earlier the build directory was placed in the parent directory
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ process.env["BUILD_PATH"] = path.resolve(
|
|||||||
process.env["BUILD_PATH"] ||
|
process.env["BUILD_PATH"] ||
|
||||||
process.env["CAPP_BUILD"] || // Global Cappuccino build directory.
|
process.env["CAPP_BUILD"] || // Global Cappuccino build directory.
|
||||||
process.env["STEAM_BUILD"] || // Maintain backwards compatibility with steam.
|
process.env["STEAM_BUILD"] || // Maintain backwards compatibility with steam.
|
||||||
path.join(path.dirname(module.path), "Build") // Just build here.
|
path.join(module.path, "Build") // Just build here.
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!process.env["CAPP_BUILD"] && process.env["STEAM_BUILD"])
|
if (!process.env["CAPP_BUILD"] && process.env["STEAM_BUILD"])
|
||||||
|
|||||||
Reference in New Issue
Block a user