Liking cljdoc? Tell your friends :D

fr.jeremyschoffen.mbt.alpha.default.jar

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.
      
raw docstring

deps-dirclj

source

ensure-jar-defaultsclj

(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:

  • :fr...mbt.alpha.classpath/index
  • :fr...mbt.alpha.maven.pom/xml
  • :fr...mbt.alpha.maven.pom/properties
  • :fr...mbt.alpha.jar/manifest
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
sourceraw docstring

jar!clj

(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.
sourceraw docstring

make-deps-entryclj

(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.
sourceraw docstring

make-jar&clean!clj

(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.
sourceraw docstring

make-license-entriesclj

(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})
source

make-manifest-entryclj

(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.
sourceraw docstring

make-pom-entryclj

(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.
sourceraw docstring

make-pom-properties-entryclj

(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})
source

make-staples-entriesclj

(make-staples-entries param)

Make a :fr...mbt.alpha.jar/src containing the usual manifest, pom.xml and deps.edn jar/entrys.

Make a `:fr...mbt.alpha.jar/src` containing the usual manifest, pom.xml and deps.edn `jar/entry`s.
sourceraw docstring

manifest-nameclj

source

manifest-pathclj

source

maven-dirclj

source

meta-dirclj

source

simple-jar-srcsclj

(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.
sourceraw docstring

uber-jar-srcsclj

(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.
sourceraw docstring

uberjar!clj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close