Permalink
Browse files

chore(scripts): add scripts

  • Loading branch information...
1 parent 5771ef4 commit 5744e7c4aeaf29acfae807222190f8b8020a1d43 @btford btford committed Jul 1, 2014
Showing with 21 additions and 0 deletions.
  1. +11 −0 start-hook.sh
  2. +10 −0 watch-hook.sh
View
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+cd "$(dirname "$0")"
+
+#
+# starts a hookshot server that will `git pull` whenever
+# GitHub pings us
+#
+# See: https://github.com/Coreh/hookshot
+#
+hookshot -p 9001 "git fetch && git reset --hard origin/master && npm install && bower install && gulp docs"
View
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+cd "$(dirname "$0")"
+
+#
+# spawns the hook, and restarts it if it goes down
+#
+# See: https://github.com/nodejitsu/forever
+#
+forever start -c bash start-hook.sh

0 comments on commit 5744e7c

Please sign in to comment.