Add a wrapper script intended to be called as an executable
authorAntonio Ospite <ospite@studenti.unina.it>
Fri, 8 Nov 2013 15:17:48 +0000 (16:17 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Fri, 8 Nov 2013 15:21:45 +0000 (16:21 +0100)
Add also an INSTALL file which explains how to set up tweeper globally
on the filesystem.

INSTALL [new file with mode: 0644]
tweeper [new file with mode: 0755]

diff --git a/INSTALL b/INSTALL
new file mode 100644 (file)
index 0000000..a2e602d
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,3 @@
+The recommended way to install tweeper globally is to install all its files
+under /usr/share/php/tweeper and then make a symlink to the wrapper script
+"tweeper" under /usr/bin
diff --git a/tweeper b/tweeper
new file mode 100755 (executable)
index 0000000..a13752f
--- /dev/null
+++ b/tweeper
@@ -0,0 +1,4 @@
+#!/usr/bin/env php
+<?php
+
+require(dirname(__FILE__) . '/tweeper.php');