1
0
mirror of https://github.com/balkian/Web4.0.git synced 2024-11-05 08:41:43 +00:00
Web4.0/hookio/hooks/runAllHooks.sh

13 lines
202 B
Bash
Raw Normal View History

2012-03-11 17:40:10 +00:00
#!/bin/bash
2012-05-25 11:16:10 +00:00
for i in $(ls `npm bin`/hookio-* 2> /dev/null)
2012-03-11 17:40:10 +00:00
do
2012-05-25 11:16:10 +00:00
echo running $i
nodejs $i &
2012-03-11 17:40:10 +00:00
done
2012-05-25 11:16:10 +00:00
for i in `ls | grep "hook.io-" 2>/dev/null`
do
echo running $i
nodejs $i/index.js &
done
wait