From aeccdaea688b0e40ba5fd8b51169ab3146b10468 Mon Sep 17 00:00:00 2001 From: Netkas Date: Sun, 8 Oct 2023 15:24:18 -0400 Subject: [PATCH] \ncc\CLI\Management > ProjectMenu > initializeProject() merged --path|-p option with --name|-n if path is not provided, the Name will be used instead. --- src/ncc/Managers/ProjectManager.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ncc/Managers/ProjectManager.php b/src/ncc/Managers/ProjectManager.php index c62facd..e3b8d7b 100644 --- a/src/ncc/Managers/ProjectManager.php +++ b/src/ncc/Managers/ProjectManager.php @@ -352,9 +352,13 @@ $build->addDefineConstant('ASSEMBLY_UID', '%ASSEMBLY.UID%'); // Generate the Debug & Release build configurations - $debug_configuration = new ProjectConfiguration\Build\BuildConfiguration('debug', 'build' . DIRECTORY_SEPARATOR . 'debug'); + $debug_configuration = new ProjectConfiguration\Build\BuildConfiguration('debug', + 'build' . DIRECTORY_SEPARATOR . 'debug' . DIRECTORY_SEPARATOR . AssemblyConstants::ASSEMBLY_PACKAGE + ); $debug_configuration->setDefinedConstant('DEBUG', '1'); - $build->addBuildConfiguration(new ProjectConfiguration\Build\BuildConfiguration('release', 'build' . DIRECTORY_SEPARATOR . 'release')); + $build->addBuildConfiguration(new ProjectConfiguration\Build\BuildConfiguration('release', + 'build' . DIRECTORY_SEPARATOR . 'release' . DIRECTORY_SEPARATOR . AssemblyConstants::ASSEMBLY_PACKAGE + )); $build->addBuildConfiguration($debug_configuration); $build->setDefaultConfiguration('release');