Last active
December 17, 2015 17:09
-
-
Save rjeschke/5643828 to your computer and use it in GitHub Desktop.
jnibuild bash script
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/bash | |
artifact=~/.m2/repository/com/github/rjeschke/jnibuild/0.1-SNAPSHOT/jnibuild-0.1-SNAPSHOT.jar | |
if [ ! -f $artifact ] | |
then | |
mvn org.apache.maven.plugins:maven-dependency-plugin:2.1:get -DrepoUrl=http://maven.renejeschke.de/snapshots/ -Dartifact=com.github.rjeschke:jnibuild:0.1-SNAPSHOT | |
fi | |
java -cp $artifact com.github.rjeschke.jnibuild.Build $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment