|
10 | 10 | ;; -------------------------------------------------- |
11 | 11 | ;; Top-level keys for Clojure CLI deps.edn |
12 | 12 |
|
13 | | -;; :mvn/repositories - Maven & Clojars repositories, examples of other repositories |
14 | | -;; :mvn/local-repo - example of setting a local repository path |
15 | | -;; :aliases - tools to enhance a development workflow |
16 | | -;; :paths - not included in this configuration |
17 | | -;; :deps - not included in this configuration |
| 13 | +;; `:mvn/repositories` - Maven & Clojars repositories, examples of other repositories |
| 14 | +;; `:mvn/local-repo` - set local repository path - defaults to $HOME/.m2/repository |
| 15 | +;; `:aliases` - tools to enhance a development workflow |
| 16 | +;; `:paths` - directory paths to add to the class path |
| 17 | +;; `:deps` - library dependencies to add to the class path |
| 18 | + |
| 19 | +;; `:paths` and `:deps` are typically used in the project `deps.edn` |
| 20 | +;; rather than a user `deps.edn` configuration |
18 | 21 |
|
19 | 22 | ;; Keys used within :aliases |
20 | | -;; resolve-deps aliases (-R) affect dependency resolution, options: |
21 | | -;; :extra-deps - specifies extra deps to add to :deps |
22 | | -;; :override-deps - specifies a coordinate to use instead of that in :deps |
23 | | -;; :default-deps - specifies a coordinate to use for a lib if one isn't found |
24 | | -;; make-classpath aliases (-C) affect the classpath generation, options: |
25 | | -;; :extra-paths - vector of additional paths to add to the classpath |
26 | | -;; :classpath-overrides - map of lib to path that overrides the result of resolving deps |
| 23 | +;; resolve-deps aliases affect dependency resolution, options: |
| 24 | +;; `:extra-deps` - specifies extra deps to add to :deps |
| 25 | +;; `:override-deps` - specifies a coordinate to use instead of that in :deps |
| 26 | +;; `:default-deps` - specifies a coordinate to use for a lib if one isn't found |
| 27 | +;; make-classpath aliases affect the classpath generation, options: |
| 28 | +;; `:extra-paths` - vector of additional paths to add to the classpath |
| 29 | +;; `:classpath-overrides` - map of lib to path that overrides the result of resolving deps |
27 | 30 | ;; --------------------------------------------------- |
28 | 31 |
|
29 | 32 |
|
|
32 | 35 |
|
33 | 36 | ;; Specify a local repository for maven - default `$HOME/.m2/repository` |
34 | 37 | ;; FreeDesktop.org XDG_CACHE_HOME is the recommended location |
35 | | - ;; Full path should be used, otherwise directory relative command is used |
| 38 | + ;; Full path should be used, otherwise a relative directory path will be created |
36 | 39 | ;; :mvn/local-repo "/home/practicalli/.cache/maven/repository" |
37 | 40 |
|
38 | 41 | ;; `clojure -Spath` will show the current class path which will include the path to the local maven repository for the library dependencies. |
|
876 | 879 | :sha "b1a7fd310b6511048fbacb8e496f574c8ccfa291"}} |
877 | 880 | :main-opts ["-m" "closh.zero.frontend.rebel"]} |
878 | 881 |
|
879 | | - #_()} |
880 | | - ;; End of alias definitions |
| 882 | + #_()} ; End of alias definitions |
881 | 883 | ;; -------------------------------------------------- |
882 | 884 | } |
0 commit comments