Liking cljdoc? Tell your friends :D

hive-build.promote.publish

Publish destinations as data, behind a registry. Pure.

The registry is the dependency-inversion point: plan and the boundary depend on the Target schema, never on a particular registry. A new destination is a register! and no edit anywhere else.

Publish destinations as data, behind a registry. Pure.

The registry is the dependency-inversion point: `plan` and the boundary
depend on the Target schema, never on a particular registry. A new
destination is a `register!` and no edit anywhere else.
raw docstring

basic-authclj

(basic-auth username password)

The Authorization header value for username/password, or nil when either is missing. Credentials are transmitted, not stored: this is the only place they are encoded.

The Authorization header value for `username`/`password`, or nil when either
is missing. Credentials are transmitted, not stored: this is the only place
they are encoded.
sourceraw docstring

clojarsclj

source

default-targetsclj

source

deploy-requestclj

(deploy-request target
                {:keys [artifact pom-file env installer]
                 :or {installer :remote}})

The deps-deploy argument map for target.

A named repository carries explicit credentials; without one deps-deploy applies its own Clojars defaults. A local install never carries a repository at all.

The deps-deploy argument map for `target`.

A named repository carries explicit credentials; without one deps-deploy
applies its own Clojars defaults. A local install never carries a
repository at all.
sourceraw docstring

deregister!clj

(deregister! id)
source

giteaclj

source

gitea-sourceclj

source

noneclj

source

register!clj

(register! target)

Add target to the registry, replacing any target with the same id. Returns the id.

Add `target` to the registry, replacing any target with the same id.
Returns the id.
sourceraw docstring

repo-urlclj

(repo-url target env)

The Maven repository URL for target, reading env when the target names its URL by environment variable. nil when neither is available.

The Maven repository URL for `target`, reading `env` when the target names
its URL by environment variable. nil when neither is available.
sourceraw docstring

required-envclj

(required-env target)

The environment variables target cannot publish without, in a stable order. Derived from the target, so a new destination declares its own credentials rather than editing a check.

The environment variables `target` cannot publish without, in a stable
order. Derived from the target, so a new destination declares its own
credentials rather than editing a check.
sourceraw docstring

targetclj

(target id)

The registered Target for id.

Throws when id is unknown: an unrecognised :publish value must stop the release, never fall through to a default destination.

The registered Target for `id`.

Throws when `id` is unknown: an unrecognised :publish value must stop the
release, never fall through to a default destination.
sourceraw docstring

target-idsclj

(target-ids)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close