1.0.0 Alpha Release #59
6 changed files with 12 additions and 10 deletions
|
@ -4,11 +4,11 @@
|
|||
use ncc\Exceptions\ConstantReadonlyException;
|
||||
use ncc\Exceptions\ImportException;
|
||||
use ncc\Exceptions\InvalidConstantNameException;
|
||||
use ncc\Exceptions\InvalidPackageNameException;
|
||||
use ncc\Exceptions\InvalidScopeException;
|
||||
use ncc\Exceptions\PackageLockException;
|
||||
use ncc\Exceptions\PackageNotFoundException;
|
||||
use ncc\ncc;
|
||||
use ncc\Exceptions\InvalidPackageNameException;
|
||||
use ncc\Exceptions\InvalidScopeException;
|
||||
use ncc\Exceptions\PackageLockException;
|
||||
use ncc\Exceptions\PackageNotFoundException;
|
||||
use ncc\ncc;
|
||||
use ncc\Runtime;
|
||||
|
||||
if(!defined('NCC_INIT'))
|
||||
|
|
|
@ -333,7 +333,7 @@
|
|||
}
|
||||
|
||||
// Create a build configuration
|
||||
$build_configuration = new ProjectConfiguration\BuildConfiguration();
|
||||
$build_configuration = new ProjectConfiguration\Build\BuildConfiguration();
|
||||
$build_configuration->Name = 'default';
|
||||
$build_configuration->OutputPath = 'build';
|
||||
|
||||
|
|
|
@ -140,12 +140,12 @@
|
|||
$this->ProjectConfiguration->Build->DefineConstants['ASSEMBLY_UID'] = '%ASSEMBLY.UID%';
|
||||
|
||||
// Generate configurations
|
||||
$DebugConfiguration = new ProjectConfiguration\BuildConfiguration();
|
||||
$DebugConfiguration = new ProjectConfiguration\Build\BuildConfiguration();
|
||||
$DebugConfiguration->Name = 'debug';
|
||||
$DebugConfiguration->OutputPath = 'build/debug';
|
||||
$DebugConfiguration->DefineConstants["DEBUG"] = '1'; // Debugging constant if the program wishes to check for this
|
||||
$this->ProjectConfiguration->Build->Configurations[] = $DebugConfiguration;
|
||||
$ReleaseConfiguration = new ProjectConfiguration\BuildConfiguration();
|
||||
$ReleaseConfiguration = new ProjectConfiguration\Build\BuildConfiguration();
|
||||
$ReleaseConfiguration->Name = 'release';
|
||||
$ReleaseConfiguration->OutputPath = 'build/release';
|
||||
$ReleaseConfiguration->DefineConstants["DEBUG"] = '0'; // Debugging constant if the program wishes to check for this
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
use ncc\Exceptions\UnsupportedExtensionVersionException;
|
||||
use ncc\Objects\ProjectConfiguration\Assembly;
|
||||
use ncc\Objects\ProjectConfiguration\Build;
|
||||
use ncc\Objects\ProjectConfiguration\BuildConfiguration;
|
||||
use ncc\Objects\ProjectConfiguration\Build\BuildConfiguration;
|
||||
use ncc\Objects\ProjectConfiguration\ExecutionPolicy;
|
||||
use ncc\Objects\ProjectConfiguration\Installer;
|
||||
use ncc\Objects\ProjectConfiguration\Project;
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
use ncc\Exceptions\InvalidBuildConfigurationException;
|
||||
use ncc\Exceptions\InvalidConstantNameException;
|
||||
use ncc\Exceptions\InvalidProjectBuildConfiguration;
|
||||
use ncc\Objects\ProjectConfiguration\Build\BuildConfiguration;
|
||||
use ncc\Utilities\Functions;
|
||||
use ncc\Utilities\Validate;
|
||||
|
||||
|
|
|
@ -2,10 +2,11 @@
|
|||
|
||||
/** @noinspection PhpMissingFieldTypeInspection */
|
||||
|
||||
namespace ncc\Objects\ProjectConfiguration;
|
||||
namespace ncc\Objects\ProjectConfiguration\Build;
|
||||
|
||||
use ncc\Exceptions\InvalidBuildConfigurationException;
|
||||
use ncc\Exceptions\InvalidDependencyConfiguration;
|
||||
use ncc\Objects\ProjectConfiguration\Dependency;
|
||||
use ncc\Utilities\Functions;
|
||||
use ncc\Utilities\Validate;
|
||||
|
Loading…
Add table
Reference in a new issue