Added beta flag
This commit is contained in:
parent
0b4dbf6cc1
commit
161ef357a2
2 changed files with 10 additions and 0 deletions
|
@ -129,6 +129,11 @@
|
||||||
Console::outWarning('This is an unstable build of ncc, expect some features to not work as expected');
|
Console::outWarning('This is an unstable build of ncc, expect some features to not work as expected');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(in_array(NccBuildFlags::BETA, NCC_VERSION_FLAGS, true))
|
||||||
|
{
|
||||||
|
Console::outWarning('This is a beta build of ncc, expect some features to not work as expected');
|
||||||
|
}
|
||||||
|
|
||||||
if(isset(self::$args['version']))
|
if(isset(self::$args['version']))
|
||||||
{
|
{
|
||||||
self::displayVersion();
|
self::displayVersion();
|
||||||
|
|
|
@ -29,4 +29,9 @@
|
||||||
* and can cause errors
|
* and can cause errors
|
||||||
*/
|
*/
|
||||||
public const UNSTABLE = 'unstable';
|
public const UNSTABLE = 'unstable';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Indicates if the build is currently in beta testing phase
|
||||||
|
*/
|
||||||
|
public const BETA = 'beta';
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue