Open dundalek opened 5 years ago
Some previous work/thought: https://github.com/cemerick/pomegranate/issues/106
A collegeau pointed me to a similar thing with tools.deps in IClojure (Clojure in Jupyter) https://github.com/HCADatalab/IClojure/blob/62cda58dee9c57d7d5e120df618e9ffbcd6181d9/src/iclj/core.clj#L368
With Sci and GraalVM things have becomes slightly more difficult. However, there is this idea from @borkdude to explore the library feature of GraalVM to host native extensions on Clojars :)
@jeroenvandijk That would be cool, I am definitely interested how the exploration will turn out.
To support git deps. I think it might be possible to call
resolve-deps
andmake-classpatch
fromtools.deps
programatically. Then add the result to classpath with pomegranate'sadd-classpath
.https://clojure.org/reference/deps_and_cli#_resolve_deps https://clojure.org/reference/deps_and_cli#_make_classpath
https://github.com/lambdaisland/kaocha/blob/master/src/kaocha/classpath.clj