Skip to content

Expose the analyzer as a Clojure CLI tool #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 7, 2022

Conversation

holyjak
Copy link
Contributor

@holyjak holyjak commented Jan 25, 2022

so that users can easily verify that their libraries workf fine with cljdoc

@holyjak holyjak requested a review from lread January 25, 2022 10:40
@holyjak holyjak marked this pull request as draft January 25, 2022 10:40
@holyjak holyjak force-pushed the feat/make-clojure-cli-tool branch from f07bfbf to ac7fe42 Compare January 25, 2022 10:43
@holyjak holyjak marked this pull request as ready for review January 25, 2022 10:44
@holyjak
Copy link
Contributor Author

holyjak commented Jan 25, 2022

To test you can check out this PR and inside do:

clojure -Ttools install io.github.cljdoc/cljdoc-analyzer '{:local/root "."}' :as cljdoc

(Install tools build first if you have not yet: clj -Ttools install io.github.clojure/tools.build '{:git/tag "v0.7.5"}' :as build.)

and then inside a checked out deps-based project with ./pom.xml and ./target/*.jar execute

clojure -Tcljdoc analyze-local

or execute

clojure -Tcljdoc analyze :project '"io.aviso/pretty"' :version '"0.1.29"' :download true

so that users can easily verify that their libraries workf fine with cljdoc
@holyjak holyjak force-pushed the feat/make-clojure-cli-tool branch from ac7fe42 to cb5e260 Compare January 25, 2022 10:49
@holyjak holyjak merged commit 223c3de into cljdoc:master Feb 7, 2022
@holyjak holyjak deleted the feat/make-clojure-cli-tool branch February 7, 2022 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant