-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<?php namespace Conso\Commands; | ||
|
||
/** | ||
* | ||
* @author <[email protected]> | ||
* @package Conso PHP Console Creator | ||
* @version 2.0.0 | ||
|
@@ -40,7 +39,12 @@ class Compile extends Command implements CommandInterface | |
* @var array | ||
*/ | ||
protected $help = [ | ||
|
||
'sub' => [ | ||
'init' => 'initialize .json build file' | ||
], | ||
'flags' => [ | ||
'--no-shebang' => 'no stub shebang, usefull when invoking phar from http' | ||
] | ||
]; | ||
|
||
/** | ||
|
@@ -120,7 +124,7 @@ public function init(InputInterface $input, OutputInterface $output) : void | |
/** | ||
* validate build file | ||
* | ||
* @param string | ||
* @param string | ||
* @return void | ||
*/ | ||
private function validateBuildFile(array $file) : void | ||
|
@@ -160,7 +164,7 @@ private function validateBuildFile(array $file) : void | |
/** | ||
* create a phar | ||
* | ||
* @param array $rules | ||
* @param array $rules | ||
* @return void | ||
*/ | ||
private function createPhar(array $rules, bool $shebang = false) : bool | ||
|