summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2021-04-19 11:02:48 +0200
committerDaniel Weipert <code@drogueronin.de>2021-04-19 11:02:48 +0200
commit3983548e7c0f107fa7b7cc3c4c36aa009590b481 (patch)
tree071513d1c25459cb81dbf56e5acc5942424a732e /bin
parent671e3f1540f3a683d548dafd64c068ad6a64ac2f (diff)
Moves Modules to own package
Removes phar Renames bin 'n' stuff
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();