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/compile |
Initial commit
Diffstat (limited to 'bin/compile')
-rw-r--r-- | bin/compile | 10 |
1 files changed, 10 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)/'); |