Skip to content

Commit

Permalink
add phar build config
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Jun 13, 2020
1 parent 01b3622 commit b882bfd
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions phar.build.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php
/**
* Created by PhpStorm.
* - the is a config file for compile phar package.
* User: Inhere
* Date: 2018/1/26 0026
* Time: 22:11
* @var \Inhere\Console\Component\PharCompiler $compiler
*/

// config
$compiler
// ->stripComments(false)
->setShebang(true)
->addExclude([
'test',
'runtime',
'resource',
])
->addFile([
'LICENSE',
'composer.json',
'README.md',
])
->setCliIndex('bin/kite')
// ->setWebIndex('web/index.php')
// ->setVersionFile('config/config.php')
;

0 comments on commit b882bfd

Please sign in to comment.