Added Java plugin.

pull/138/head
Nils Winkler 2012-05-21 11:50:01 +02:00
parent 311f95b6ce
commit 998c09745a
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
cite about-plugin
about-plugin 'Java and JAR helper functions'
function jar_manifest {
about "extracts the specified JAR file's MANIFEST file and prints it to stdout"
group 'java'
param '1: JAR file to extract the MANIFEST from'
example 'jar_manifest lib/foo.jar'
unzip -c $1 META-INF/MANIFEST.MF
}