diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/compile | 10 | ||||
-rw-r--r-- | bin/iac | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/bin/compile b/bin/compile new file mode 100644 index 0000000..a36967e --- /dev/null +++ b/bin/compile @@ -0,0 +1,10 @@ +#!/usr/bin/env php +<?php + +unlink(getcwd() . '/iac.phar'); +#chdir(dirname(__DIR__)); +#exec('composer install --no-dev'); + +$phar = new Phar('iac.phar'); +$phar->setStub(Phar::createDefaultStub()); +$phar->buildFromDirectory(dirname(__DIR__), '/(src|vendor|index\.php)/'); @@ -0,0 +1,4 @@ +#!/usr/bin/env php +<?php + +require dirname(__DIR__) . '/index.php'; |