#!/bin/bash

# enable strict mode
set -euo pipefail
IFS=$'\n\t'


if [ "${MODE}" = 'unit' ]; then
    ant -f build/build.xml unit-lint
else
    echo 'Unrecognized $MODE running tests!'
    exit 1
fi
