Updated Makefile to create a redist and tar archive
This commit is contained in:
parent
629cbc98e0
commit
89d50dac6d
2 changed files with 14 additions and 2 deletions
14
Makefile
14
Makefile
|
@ -1,2 +1,14 @@
|
||||||
autoload:
|
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 *
|
|
@ -111,7 +111,7 @@
|
||||||
{
|
{
|
||||||
$options = [
|
$options = [
|
||||||
new CliHelpSection(['help'], 'Displays this help menu about the value command'),
|
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;
|
$options_padding = \ncc\Utilities\Functions::detectParametersPadding($options) + 4;
|
||||||
|
|
Loading…
Add table
Reference in a new issue