summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/compile10
-rw-r--r--bin/iac4
-rwxr-xr-xbin/phpiac6
3 files changed, 6 insertions, 14 deletions
diff --git a/bin/compile b/bin/compile
deleted file mode 100644
index a36967e..0000000
--- a/bin/compile
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/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)/');
diff --git a/bin/iac b/bin/iac
deleted file mode 100644
index b645010..0000000
--- a/bin/iac
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/env php
-<?php
-
-require dirname(__DIR__) . '/index.php';
diff --git a/bin/phpiac b/bin/phpiac
new file mode 100755
index 0000000..3e2b520
--- /dev/null
+++ b/bin/phpiac
@@ -0,0 +1,6 @@
+#!/usr/bin/env php
+<?php
+
+require dirname(__DIR__) . '/vendor/autoload.php';
+
+\PHPIAC\IAC::getInstance();