An API to run ClojureScript builds using configuration from the Gradle build within the REPL. These functions use the ClojureScript build API.
An API to run ClojureScript builds using configuration from the Gradle build within the REPL. These functions use the ClojureScript build API.
(build-opts id)
Returns a map of compiler options for the build ID.
Returns a map of compiler options for the build ID.
(clean! id)
Cleans build ID. Stops watch, and blows away details in REGISTRY.
Cleans build ID. Stops watch, and blows away details in REGISTRY.
(compiler-env! id)
Gets the compiler environment for build ID or sets it to an empty state, if none exists in REGISTRY.
Gets the compiler environment for build ID or sets it to an empty state, if none exists in REGISTRY.
(repl-env! id)
(repl-env! id env)
Gets or sets the repl environment for build ID. With one argument -- the ID -- gets an existing repl env. With two arguments -- the ID and env -- sets the repl env. If build ID already has a repl env, tears it down before replacing it in REGISTRY.
Gets or sets the repl environment for build ID. With one argument -- the ID -- gets an existing repl env. With two arguments -- the ID and env -- sets the repl env. If build ID already has a repl env, tears it down before replacing it in REGISTRY.
(watch! id)
Starts build ID in watch mode. Can be stopped with (stop-watch! id).
Starts build ID in watch mode. Can be stopped with (stop-watch! id).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close