-
Notifications
You must be signed in to change notification settings - Fork 93
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
Remove hard dependency on ClojureScript #52
Conversation
…l Clojure project.
Hmm, I see I forgot to run the ClojureScript tests. Is there an alternate impl to get around the analyzer require? |
I provided a macro impl of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems reasonable that spec-tools shouldn't depend on CLJS if you're not using it with CLJS. I just want to check that this works with advanced compilation in CLJS. If it does, let's merge this and I'll create a new release.
@@ -1,4 +1,4 @@ | |||
(defproject metosin/spec-tools "0.1.0" | |||
(defproject metosin/spec-tools "0.1.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you remove this? I'd prefer to not have version bumps in PRs, and it should be to a -SNAPSHOT
release first anyway.
I fixed the version myself, merged it and made a release. Thanks for the contribution! |
No problem. Thanks for your work on this project! |
spec-tools v0.1.0 places a hard dependency on ClojureScript. Trying to load
spec-tools.core
in an all Clojure project results in this error:The ClojureScript analyzer is required in impl.cljc. Does ClojureScript need to be a hard dependency? If not, here is a PR removing the
require
for the CLJS analyzer in Clojure code.