Apis providing the jar sources used by default and the utilities to build jars and uberjars.
Apis providing the jar sources used by default and the utilities to build jars and uberjars.
(ensure-jar-defaults p)
Ensure the presence in the config map of some necessary keys to make a jar. Computes values for those keys if necessary.
Namely:
Ensure the presence in the config map of some necessary keys to make a jar. Computes values for those keys if necessary. Namely: - :fr...mbt.alpha.classpath/index - :fr...mbt.alpha.maven.pom/xml - :fr...mbt.alpha.maven.pom/properties - :fr...mbt.alpha.jar/manifest
(jar! param)
Create a skinny jar. The jar sources are determined using
fr.jeremyschoffen.mbt.alpha.default.jar/simple-jar-srcs
.
This function takes care of generating a deleting a temporary directory used to group the jar files that end up compressed into the jar archive.
Create a skinny jar. The jar sources are determined using [[fr.jeremyschoffen.mbt.alpha.default.jar/simple-jar-srcs]]. This function takes care of generating a deleting a temporary directory used to group the jar files that end up compressed into the jar archive.
(make-deps-entry {deps-file :fr.jeremyschoffen.mbt.alpha.project.deps/file
group-id :fr.jeremyschoffen.mbt.alpha.maven/group-id
artefact-id :fr.jeremyschoffen.mbt.alpha.maven/artefact-name})
Make a :fr...mbt.alpha.jar/entry
for a deps.edn
file.
Make a `:fr...mbt.alpha.jar/entry` for a `deps.edn` file.
(make-jar&clean! {jar-out :fr.jeremyschoffen.mbt.alpha.jar/output :as param})
Create a jar, simplifying the process by handling the creation and deletion of the temporary output put that will be zipped into the resulting jar.
Create a jar, simplifying the process by handling the creation and deletion of the temporary output put that will be zipped into the resulting jar.
(make-license-entries {group-id :fr.jeremyschoffen.mbt.alpha.maven/group-id
artefect-name
:fr.jeremyschoffen.mbt.alpha.maven/artefact-name
licenses :fr.jeremyschoffen.mbt.alpha.project/licenses})
(make-manifest-entry {manifest :fr.jeremyschoffen.mbt.alpha.jar/manifest})
Make a :fr...mbt.alpha.jar/entry
for a jar manifest.
Make a `:fr...mbt.alpha.jar/entry` for a jar manifest.
(make-pom-entry {pom-path :fr.jeremyschoffen.mbt.alpha.maven.pom/path
group-id :fr.jeremyschoffen.mbt.alpha.maven/group-id
artefact-id :fr.jeremyschoffen.mbt.alpha.maven/artefact-name})
Make a :fr...mbt.alpha.jar/entry
for a pom.xml
file.
Make a `:fr...mbt.alpha.jar/entry` for a `pom.xml` file.
(make-pom-properties-entry
{pom-props :fr.jeremyschoffen.mbt.alpha.maven.pom/properties
group-id :fr.jeremyschoffen.mbt.alpha.maven/group-id
artefact-id :fr.jeremyschoffen.mbt.alpha.maven/artefact-name})
(make-staples-entries param)
Make a :fr...mbt.alpha.jar/src
containing the usual manifest, pom.xml and deps.edn jar/entry
s.
Make a `:fr...mbt.alpha.jar/src` containing the usual manifest, pom.xml and deps.edn `jar/entry`s.
(simple-jar-srcs {cp :fr.jeremyschoffen.mbt.alpha.classpath/index :as param})
Make the jar srcs used in a skinny jar. Basically all the project local sources and resources directories present in the classpath.
Make the jar srcs used in a skinny jar. Basically all the project local sources and resources directories present in the classpath.
(uber-jar-srcs {cp :fr.jeremyschoffen.mbt.alpha.classpath/index :as param})
Make the jar srcs that will go into an uberjar. Similar to
fr.jeremyschoffen.mbt.alpha.default.jar/simple-jar-srcs
but also adds the other sources present in the classpath.
Make the jar srcs that will go into an uberjar. Similar to [[fr.jeremyschoffen.mbt.alpha.default.jar/simple-jar-srcs]] but also adds the other sources present in the classpath.
(uberjar! param)
Build an uberjar. The jar sources are determined using
fr.jeremyschoffen.mbt.alpha.default.jar/uber-jar-srcs
.
This function takes care of generating a deleting a temporary directory used to group the jar files that end up compressed into the jar archive.
Build an uberjar. The jar sources are determined using [[fr.jeremyschoffen.mbt.alpha.default.jar/uber-jar-srcs]]. This function takes care of generating a deleting a temporary directory used to group the jar files that end up compressed into the jar archive.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close