Update order.
[erlware-mode.git] / flymaker.sh
blob0ee75d16075677be25bcb5d95d3b42886b2cef73
1 #!/bin/bash
3 echo $1
5 Is=""
6 PAs=""
7 for i in `dirname $1`/../../*/include; do
8 Is="-I $i $Is"
9 done
10 for e in `dirname $1`/../../*/ebin; do
11 PAs="-pa $e $PAs"
12 done
14 erlc -o /tmp $Is $PAs -Wall $1