summaryrefslogtreecommitdiff
path: root/node_modules/twig/test-ext/checkout.sh
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/twig/test-ext/checkout.sh')
-rwxr-xr-xnode_modules/twig/test-ext/checkout.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/node_modules/twig/test-ext/checkout.sh b/node_modules/twig/test-ext/checkout.sh
new file mode 100755
index 0000000..514b286
--- /dev/null
+++ b/node_modules/twig/test-ext/checkout.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+
+if [ ! -d $DIR/twig.php ]; then
+ git clone git://github.com/fabpot/Twig.git $DIR/twig.php
+else
+ cd $DIR/twig.php
+ git pull
+fi