-
Notifications
You must be signed in to change notification settings - Fork 21
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
Manage JVM vs. CLJS dependencies better #43
Conversation
* use Java Time in README examples * removes clj-time as a dependency * moves js-joda to a :cljs-test only dependency * kongeor/cljs-test-runner is behind olical/cljs-test-runner so switch to the latter * update build-tools * update GH workflow dependencies * ignore Calva REPL file * remove unnecessary cljc_test file (both clj and cljs test runners file the tests just fine) * use clojure.math in cljs and clj * fix the bad cljs-only test splice Signed-off-by: Sean Corfield <[email protected]>
The |
Signed-off-by: Sean Corfield <[email protected]>
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.
Thank you Sean. Looks good!
user> (require '[clj-time.core :as t]) | ||
nil | ||
user> (import '(java.time LocalDateTime) '(java.time.temporal ChronoUnit)) | ||
java.time.temporal.ChronoUnit |
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.
Probably redundant?
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.
Both of these imports are used so I'm not sure why you think this is redundant?
Thanks for this; sorting out the JVM vs. CLJS stuff was something outside my wheelhouse as I don't do much with CLJS. |
Fixes #42 by:
Signed-off-by: Sean Corfield [email protected]