Skip to main content

Crate cljrs_deps

Crate cljrs_deps 

Source
Expand description

cljrs.edn project configuration: types, parser, and discovery.

§Format

{:paths ["src" "resources"]

 :deps
 {my.lib      {:git/url "https://github.com/user/my-lib" :git/sha "abc1234ef"}
  local.utils {:local/root "../local-utils"}}

 :aliases
 {:dev  {:extra-paths ["dev"]}
  :test {:extra-paths ["test"]
         :extra-deps  {test-tools {:git/url "..." :git/sha "..."}}}}}

Structs§

Alias
A single alias entry from the :aliases map.
DepsConfig
The fully parsed contents of a cljrs.edn file.
GitDep
A git-hosted dependency with a pinned commit SHA.
RustConfig
Rust-crate configuration for mixed Rust/Clojure projects.

Enums§

Dependency
A dependency declared in :deps or :extra-deps.
DepsError
TrustedSigner
A trusted commit signer declared in :trusted-signers.

Functions§

find_config_file
Walk up the directory tree from start, returning the path of the first cljrs.edn file found, or None if no config exists in any ancestor.
load_config
Load and parse the cljrs.edn closest to start, returning None if no config file is found.
parse_config
Parse src (the text of a cljrs.edn file located at config_path) into a DepsConfig. config_path is used only for resolving :local/root paths relative to the config directory.

Type Aliases§

DepsResult