Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
(ns nondeps.core)
(defn -main
(let [f @#'clojure.core/load
paths (atom [])]
(with-redefs [clojure.core/load (fn [& path]
(swap! paths concat path)
(apply f path))]
(require (symbol target))
(prn (mapv identity #_ @paths)
(System/getProperty "java.class.path")))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.