Skip to content

Commit 67c0a4c

Browse files
committed
link basis section
1 parent 8a7d251 commit 67c0a4c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/reference/clojure_cli.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ When multiple aliases are supplied, the keys in the aliases arg maps are merged
343343

344344
The alias keys above are meaningful for Clojure CLI execution, but you may define aliases for any purpose. If you are creating a custom tool that needs configuration, it is a good practice to define well-known, namespaced aliases or alias-keys for use by your tool. Please refrain from adding top-level keys to the <<deps_edn#,deps.edn>> files - they may not always be available via programmatic tools.
345345

346-
Programs run by the Clojure CLI are given the "runtime basis" for the execution, including all alias data. The clojure.java.basis API being added in Clojure 1.12 can be used to retrieve alias data at runtime in the program.
346+
Programs run by the Clojure CLI are given the <<deps_edn#basis,runtime basis>> for the execution, including all alias data. The https://clojure.github.io/clojure/#clojure.java.basis[clojure.java.basis] API added in Clojure 1.12 can be used to retrieve alias data at runtime in the program.
347347

348348
[[namespaces]]
349349
=== Namespace resolution

content/reference/deps_edn.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ toc::[]
1515

1616
The deps.edn file is a data file specifying all information needed to form a project classpath, including deps, paths, and external dependency repository information. The deps.edn file format is used by the https://github.com/clojure/tools.deps[tools.deps library] and the <<clojure_cli#,Clojure CLI>>.
1717

18-
If you are building a tool that would like to leverage deps.edn, create well-known namespaced <<deps_edn#aliases,:aliases>> as a means to convey tool configuration, rather than adding new arbitrary tags elsewhere in the deps.edn data - these may not be preserved or conveyed during processing. Tools can access alias data via the basis at runtime, or programatically via tools.deps.
18+
If you are building a tool that would like to leverage deps.edn, create well-known namespaced <<deps_edn#aliases,:aliases>> as a means to convey tool configuration, rather than adding new arbitrary tags elsewhere in the deps.edn data - these may not be preserved or conveyed during processing. Tools can access alias data via the <<deps_edn#basis,basis>> at runtime, or programatically via tools.deps.
1919

2020
.Index of deps.edn attributes
2121
[[index]]

0 commit comments

Comments
 (0)