Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 22 lines (19 sloc) 0.462 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#!/usr/bin/env bash

# You may need to uncomment/edit the following line on Mac OS X
#JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_06.jdk/Contents/Home/

function each_test {
  ./clean.sh && lein2 clean
  lein2 with-profile dev,$1 test
lein2 clean && ./clean.sh
}

if [ -z "$1" ]; then
  each_test 1.4
elif [ "$1" == "all" ]; then
  for a in 1.2 1.3 1.4 1.5; do
    each_test $a
  done
else
  for a in $1 $2 $3 $4 $5 $6; do
    each_test $a
  done
fi
Something went wrong with that request. Please try again.