#!/bin/bash BUNDLER=com.truelaurel.codingame.tool.bundle.BundlerMain BASENAME=$(basename $0) NAME=${BASENAME##enhance} echo "Continuously testing and bundling $NAME" sbt "~ ; test-only **.${NAME}Test ; runMain $BUNDLER $NAME.scala"