Skip to content

Instantly share code, notes, and snippets.

View zathomas's full-sized avatar

Zach A. Thomas zathomas

View GitHub Profile
#!/bin/bash
# [ modsince.sh <commit> ]
# author: Zach A. Thomas @aeroplanesoft
# This little script uses git to make maven a little smarter.
# It produces a comma-separated list of projects to build,
# limited to what has changed in the git repo since the
# specified commit.
#
# You are meant to tack this output onto the end of a maven command, e.g.:
# mvn clean install -P full `modsince.sh dc254ec43e`