From 2b25e6c6088a62c2f0a99f0d41659d3c99773cb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2EFernando=20S=C3=A1nchez?= Date: Sun, 11 Mar 2012 18:40:10 +0100 Subject: [PATCH] Distribute as package, added launcher --- hookio/hooks/Mailer | 2 +- hookio/hooks/runAllHooks.sh | 5 +++++ package.json | 7 +++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 hookio/hooks/runAllHooks.sh create mode 100644 package.json diff --git a/hookio/hooks/Mailer b/hookio/hooks/Mailer index aedd459..f4ed43c 160000 --- a/hookio/hooks/Mailer +++ b/hookio/hooks/Mailer @@ -1 +1 @@ -Subproject commit aedd459e351bee21954a84c76a5e4ad7a2000afd +Subproject commit f4ed43c564cf191632dbfaacbeba764e22965518 diff --git a/hookio/hooks/runAllHooks.sh b/hookio/hooks/runAllHooks.sh new file mode 100644 index 0000000..6070518 --- /dev/null +++ b/hookio/hooks/runAllHooks.sh @@ -0,0 +1,5 @@ +#!/bin/bash +for i in `npm bin`/hookio-* +do + $i & +done diff --git a/package.json b/package.json new file mode 100644 index 0000000..0305f83 --- /dev/null +++ b/package.json @@ -0,0 +1,7 @@ +{ +"name": "Web4.0", +"version" : "0.0.1", +"dependencies":{ + "Hook.io-mailer":"git+https://github.com/balkian/Hookio-Mailer.git" +} +}