#!/bin/bash

set -ev

# Get JASSv1 and JASSv2
git clone https://github.com/andrewtrotman/JASSv2.git

# Get ATIRE
cd JASSv2
hg clone http://www.atire.org/hg/atire

# make ATIRE and trec2query
cd atire 
make
cd evaluation
make
cd ..
cd ..

# Build JASSv1
cd JASSv1
make
cd ..

# Build JASSv2
cd build
cmake -D FORCE_CMAKE_BUILD_TYPE=Release .. 
make

