Added beta flag

This commit is contained in:
Netkas 2023-10-03 17:12:27 -04:00
parent 0b4dbf6cc1
commit 161ef357a2
No known key found for this signature in database
GPG key ID: 5DAF58535614062B
2 changed files with 10 additions and 0 deletions

View file

@ -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();

View file

@ -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';
} }