Liking cljdoc? Tell your friends :D

fr.jeremyschoffen.mbt.alpha.default.tasks

Higher level apis.

Higher level apis.
      
raw docstring

check-incompatible-depsclj

(check-incompatible-deps
  {allowed? :fr.jeremyschoffen.mbt.alpha.build.jar/allow-non-maven-deps
   :as conf})

Checks wheter or not the jar being built uses deps incompatible with maven (git libs, local deps).

Checks wheter or not the jar being built uses deps incompatible with maven (git libs, local deps).
sourceraw docstring

generate-then-commit!clj

(generate-then-commit! conf & fns)

Helper function intended to be used to automatically commit some generated files.

Several steps are taken:

  1. Check the repo using fr.jeremyschoffen.mbt.alpha.default.versioning/check-repo-in-order.
  2. Thread conf through fns using [[fr.jeremyschoffen.mbt.alpha.utils//thread-fns]].
  3. Add all the new files to git using fr.jeremyschoffen.mbt.alpha.core/git-add-all!
  4. Commit all the generated files.

Args:

  • conf: a map, the build's configuration
  • fns: functions, presumably functions generating docs or a version file.
Helper function intended to be used to automatically commit some generated files.

Several steps are taken:

1) Check the repo using [[fr.jeremyschoffen.mbt.alpha.default.versioning/check-repo-in-order]].
2) Thread `conf` through `fns` using [[fr.jeremyschoffen.mbt.alpha.utils//thread-fns]].
3) Add all the new files to git using [[fr.jeremyschoffen.mbt.alpha.core/git-add-all!]]
4) Commit all the generated files.


Args:
- `conf`: a map, the build's configuration
- `fns`: functions, presumably functions generating docs or a version file.
sourceraw docstring

jar!clj

(jar! param)

Build a skinny jar for the project. Depending on the value of :fr...mbt.alpha.build.jar/allow-non-maven-deps this function will throw an exception if non maven deps are found.

Also ensures several config keys are present using fr.jeremyschoffen.mbt.alpha.default.jar/ensure-jar-defaults.

Build a skinny jar for the project.
Depending on the value of `:fr...mbt.alpha.build.jar/allow-non-maven-deps` this function will throw
an exception if non maven deps are found.

Also ensures several config keys are present using
[[fr.jeremyschoffen.mbt.alpha.default.jar/ensure-jar-defaults]].
sourceraw docstring

uberjar!clj

(uberjar! param)

Build an uberjar for the project. Ensure that the :fr...mbt.alpha.project/version is present int the config with [[fr.jeremyschoffen.mbt.alpha.default.versioning/current-project-version]]. Also ensure other keys using [[fr.jeremyschoffen.mbt.alpha.default.building/ensure-jar-defaults]].

Build an uberjar for the project. Ensure that the `:fr...mbt.alpha.project/version` is present int the config with
[[fr.jeremyschoffen.mbt.alpha.default.versioning/current-project-version]].
Also ensure other keys using [[fr.jeremyschoffen.mbt.alpha.default.building/ensure-jar-defaults]].
sourceraw docstring

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

× close