diff options
author | Daniel Weipert <code@drogueronin.de> | 2021-04-18 15:09:51 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2021-04-18 15:09:51 +0200 |
commit | c0ebe78089121c0ad23efb0af32c435bee543a3c (patch) | |
tree | db5e9205bcd7181cfa41543ee8962e9d84cdb481 /bin |
Initial commit
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'; |