Created
May 8, 2020 22:53
-
-
Save mcculley/fb55e58f8dcac765eb2882915b27e5e5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # A simple wrapper around executing a Maven build to avoid starting up a JVM | |
| # and doing unnecessary work. | |
| if [ -n "$(find src -newer target)" ] | |
| then | |
| mvn package | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment