borkdude / api-diff

Print API diffs between library versions
59 stars 2 forks source link

Sample invocation not working for me #2

Closed jeff303 closed 3 years ago

jeff303 commented 3 years ago

I have added this alias to my ~/.clojure/deps.edn:

    :api-diff {:replace-deps {borkdude/api-diff {:git/url "https://github.com/borkdude/api-diff"
                                                 :git/sha "7149bccc6a9f7a5734c3413e6bb4faa18c8d90c3"}}
                             :main-opts ["-m" "borkdude.api-diff"]}

Then, trying the sample invocation from README.md:

clj -Mapi-diff api-diff :lib clj-kondo/clj-kondo :v1 '"2021.09.25"' :v2 '"2021.09.15"'
Execution error (ExceptionInfo) at clojure.tools.deps.alpha.extensions.maven/get-artifact (maven.clj:153).
Could not find artifact clj-kondo:clj-kondo:jar:"2021.09.25" in central (https://repo1.maven.org/maven2/)

I'm not sure if this is because I don't have something set up to correctly resolve Clojure deps from Clojars?

jeff303 commented 3 years ago

Nevermind, I was using the wrong invocation. Extra quotes around the version numbers.