#!/bin/bash git log --name-only -n1 | grep 'src/main/java' > /dev/null if [ $? = 0 ]; then rake "ant:build" && git add trinidad-libs/trinidad-sandbox-extension.jar && git ci -m "update extension jar with the latest source code" fi