diff options
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)/'); |