grenada.postprocessors

deploy-jar

(deploy-jar {:keys [artifact group version], :as coords} out-dir [u p])
Inputs: [{:keys [artifact group version], :as coords} :- schemas/JarCoordsWithDescr out-dir [u p]]

Deploys a JAR file and a pom.xml found in OUT-DIR to Clojars.

This procedure will deploy the JAR file whose file name matches COORDS.
OUT-DIR can only contain one file called pom.xml and this one will be
deployed. U and P have to be username and password for Clojars.

The :description entry in COORDS will be ignored.

jar-from-files

(jar-from-files in-dir out-dir {:keys [group artifact version], :as coords-out})
Inputs: [in-dir out-dir {:keys [group artifact version], :as coords-out} :- schemas/JarCoordsWithDescr]

Takes the Grenada data from IN-DIR and packages them up in a JAR. Also
creates a pom.xml with Maven coordinates from COORDS-OUT. Writes JAR and
pom.xml to OUT-DIR.

Note that IN-DIR has to be a path with more than one segment. You can't use
'a-dir', but './a-dir' should work.