Liking cljdoc? Tell your friends :D

bract.core.dev

Development and test support.

Development and test support.
raw docstring

-mainclj

(-main & args)

Java main() method entry point for DEV mode.

Java main() method entry point for DEV mode.
sourceraw docstring

app-contextclj

source

config-filesclj

(config-files)
(config-files config-filenames)

Set config files to specified argument (unless environment variable APP_CONFIG is set):

ValueEffect
collectionset config files as override
stringset config files as override
nilclear config file override
Set config files to specified argument (unless environment variable `APP_CONFIG` is set):

| Value    | Effect                       |
|----------|------------------------------|
|collection| set config files as override |
|string    | set config files as override |
|`nil`     | clear config file override   |
sourceraw docstring

context-fileclj

(context-file)
(context-file context-filename)

Set context file to specified argument (unless environment variable APP_CONTEXT is set):

ValueEffect
stringset context file as override
nilclear context file override
Set context file to specified argument (unless environment variable `APP_CONTEXT` is set):

| Value | Effect                       |
|-------|------------------------------|
|string | set context file as override |
|`nil`  | clear context file override  |
sourceraw docstring

deinitclj

(deinit)

De-initialize application. Throw error if app-context is not initialized.

De-initialize application. Throw error if [[app-context]] is not initialized.
sourceraw docstring

ensure-initclj

(ensure-init)

Ensure that app-context is initialized.

Ensure that [[app-context]] is initialized.
sourceraw docstring

initclj

(init)

Initialize app in DEV mode.

Initialize app in DEV mode.
sourceraw docstring

init-gateclj

source

init-once!clj

(init-once!)
(init-once! a-var)

Given a var e.g. (defonce a-var nil) having logical false value, set it to true and initialize app in DEV mode.

Given a var e.g. (defonce a-var nil) having logical false value, set it to `true` and initialize app in DEV mode.
sourceraw docstring

initial-contextclj

(initial-context)

Resolve and return the initial context to trigger the application in DEV mode.

Resolve and return the initial context to trigger the application in DEV mode.
sourceraw docstring

record-context!clj

(record-context! context)

Rebind var app-context to the given context.

Rebind var [[app-context]] to the given context.
sourceraw docstring

root-contextclj

source

seed-contextclj

source

startclj

(start)

Launch application. Throw error if app-context` is not initialized.

Launch application. Throw error if [[app-context]]` is not initialized.
sourceraw docstring

stopclj

(stop)

Stop the started application.

Stop the started application.
sourceraw docstring

verboseclj

(verbose)
(verbose status?)

Set verbose mode to specified status (unless environment variable APP_VERBOSE is set):

ValueEffect
trueenable verbose mode
falsedisable verbose mode
nilclear verbose mode override
Set verbose mode to specified status (unless environment variable `APP_VERBOSE` is set):

| Value | Effect                      |
|-------|-----------------------------|
|`true` | enable verbose mode         |
|`false`| disable verbose mode        |
|`nil`  | clear verbose mode override |
sourceraw docstring

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

× close