Skip to content

Commit

Permalink
aliases: update :search/libraries to use practicalli/clj-find-librari…
Browse files Browse the repository at this point in the history
…es fork
  • Loading branch information
practicalli-johnny committed Dec 1, 2023
1 parent 7a8b944 commit 1eeb422
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.org
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#+TITLE: Changelog

* Unreleased
** Changed
- `:search/libraries` updated to use practicalli/clj-find-libraries fork

* 2023-11-03
** Changed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ How to run common tasks for Clojure development.
| Run REPL (rebel readline with nrepl server) | `clojure -M:repl/rebel` | Practicalli |
| Run ClojureScript REPL with nREPL (editor support) | `clojure -M:repl/cljs` | Practicalli |
| Download dependencies | `clojure -P` (followed by optional aliases) | Built-in |
| Find libraries (Clojars & Maven Central) | `clojure -M:search/libraries qualified-lib rary-name(s)` | Practicalli |
| Find libraries (Clojars & Maven Central) | `clojure -M:search/libraries qualified-library-name(s)` | Practicalli |
| Find available versions of a library | `clojure -X:deps find-versions :lib domain/library-name` | Built-in |
| Resolve git coord tags to shas and update deps.edn | `clojure -X:deps git-resolve-tags git-coord-tag` | Built-in |
| Generate image of project dependency graph | `clojure -T:project/graph-deps` | Practicalli |
Expand Down
19 changes: 16 additions & 3 deletions deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,24 @@
;; clojure -M:search/libraries http-kit # fuzzy search for dependency
;; clojure -M:search/libraries http-kit ring compojure # multiple deps
;; clojure -M:search/libraries --format:save http-kit # save into deps.edn file
;; :search/libraries
;; {:extra-deps
;; {find-deps/find-deps
;; {:git/url "https://github.com/hagmonk/find-deps"
;; :sha "9bf23a52cb0a8190c9c2c7ad1d796da802f8ce7a"}}
;; :main-opts ["--main" "find-deps.core"]}

:search/libraries
{:extra-deps
{find-deps/find-deps
{:git/url "https://github.com/hagmonk/find-deps"
:sha "9bf23a52cb0a8190c9c2c7ad1d796da802f8ce7a"}}
{practicalli/clj-find-libraries
{:git/url "https://github.com/practicalli-johnny/clj-find-library"
:sha "a814519ed9921fcad4515e0e4446dc34af783d28"}}
:main-opts ["--main" "find-deps.core"]}

:search/libraries-local
{:extra-deps
{practicalli/clj-find-libraries
{:local/root "/home/practicalli/projects/practicalli/clj-find-library/"}}
:main-opts ["--main" "find-deps.core"]}

;; Dependency version management
Expand Down

0 comments on commit 1eeb422

Please sign in to comment.