Updated Makefile to create a redist and tar archive

This commit is contained in:
Netkas 2022-08-02 18:36:47 -04:00
parent 629cbc98e0
commit 89d50dac6d
2 changed files with 14 additions and 2 deletions

View file

@ -1,2 +1,14 @@
autoload:
phpab --output src/ncc/autoload.php src/ncc
phpab --output src/ncc/autoload.php src/ncc
redist:
rm -rf build
mkdir build build/src
cp -rf src/ncc/* build/src
cp src/installer/installer build/src/install.sh
cp LICENSE build/src/LICENSE
cp README.md build/src/README.md
tar:
rm -f build/ncc.tar.gz
cd build/src; tar -czvf ../ncc.tar.gz *

View file

@ -111,7 +111,7 @@
{
$options = [
new CliHelpSection(['help'], 'Displays this help menu about the value command'),
new CliHelpSection(['create'], 'Creates a new NCC project'),
new CliHelpSection(['create', '--src', '--package', '--name'], 'Creates a new NCC project'),
];
$options_padding = \ncc\Utilities\Functions::detectParametersPadding($options) + 4;