summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-10-21 18:38:00 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2013-10-21 18:38:05 +0200
commit4452df33f080c314f9b4c6a6504f254edc500282 (patch)
tree8b12557d69ea1336147a264ca8ab01042f884e09 /hooks
downloadappstore-4452df33f080c314f9b4c6a6504f254edc500282.tar.gz
appstore-4452df33f080c314f9b4c6a6504f254edc500282.tar.bz2
appstore-4452df33f080c314f9b4c6a6504f254edc500282.tar.xz
appstore-4452df33f080c314f9b4c6a6504f254edc500282.zip
wip
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/common3
-rwxr-xr-xhooks/post-commit10
2 files changed, 13 insertions, 0 deletions
diff --git a/hooks/common b/hooks/common
new file mode 100755
index 0000000..7a693aa
--- /dev/null
+++ b/hooks/common
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+
diff --git a/hooks/post-commit b/hooks/post-commit
new file mode 100755
index 0000000..63508c2
--- /dev/null
+++ b/hooks/post-commit
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+set -e
+set -u
+
+APPSTORE_HOME=$(cd $(dirname "$0")/.. && pwd)
+
+. $APPSTORE_HOME/hooks/common
+
+echo "post-commit!!"