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
:aliasesmap. - Deps
Config - The fully parsed contents of a
cljrs.ednfile. - GitDep
- A git-hosted dependency with a pinned commit SHA.
- Rust
Config - Rust-crate configuration for mixed Rust/Clojure projects.
Enums§
- Dependency
- A dependency declared in
:depsor:extra-deps. - Deps
Error - Trusted
Signer - A trusted commit signer declared in
:trusted-signers.
Functions§
- find_
config_ file - Walk up the directory tree from
start, returning the path of the firstcljrs.ednfile found, orNoneif no config exists in any ancestor. - load_
config - Load and parse the
cljrs.ednclosest tostart, returningNoneif no config file is found. - parse_
config - Parse
src(the text of acljrs.ednfile located atconfig_path) into aDepsConfig.config_pathis used only for resolving:local/rootpaths relative to the config directory.