Tools for creating modular build tasks (commands). See trident.build for example usage.
Commands are configured in a data structure as described in dispatch
.
Commands can be easily reused like so:
(ns alice.build)
(def commands
{"foo" ...
"bar" ...})
(ns bob.build)
(def commands
{"baz" ...
"quux" ...})
(ns carol.build
(require [alice.build :as alice]
[bob.build :as bob]))
(def commands
(merge alice/commands
(select-keys bob/commands ["baz"])
{"quux" ...}))
Tools for creating modular build tasks (commands). See [trident.build](https://github.com/jacobobryant/trident/blob/master/src/trident/build.clj) for example usage. Commands are configured in a data structure as described in [[dispatch]]. Commands can be easily reused like so: ``` (ns alice.build) (def commands {"foo" ... "bar" ...}) (ns bob.build) (def commands {"baz" ... "quux" ...}) (ns carol.build (require [alice.build :as alice] [bob.build :as bob])) (def commands (merge alice/commands (select-keys bob/commands ["baz"]) {"quux" ...})) ```
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close