Skip to content

Commit

Permalink
add install-module.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Mar 15, 2015
1 parent 9deca1b commit 9310f84
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions install-module.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

readonly PROGNAME=$(basename $0)
readonly PROGDIR=$(cd "$(dirname "$0")"; pwd)
readonly ARGS="$@"
readonly PREFIX="geom-"

main() {
for m in $ARGS
do
echo "installing module $PREFIX$m..."
echo "----------------------------------------"
cd $PROGDIR/$PREFIX$m/babel
lein do clean, cljx once, install
done
}

main

0 comments on commit 9310f84

Please sign in to comment.