Skip to content

Instantly share code, notes, and snippets.

@thheller
Created November 26, 2016 14:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thheller/57f9e3bf8c8b9f68b9225cfe2884e996 to your computer and use it in GitHub Desktop.
Save thheller/57f9e3bf8c8b9f68b9225cfe2884e996 to your computer and use it in GitHub Desktop.
find dependent names for namespace using shadow-build
;; [thheller/shadow-build "1.0.239"]
(require '[shadow.cljs.build :as cljs])
(-> (cljs/init-state)
(cljs/find-resources-in-classpath)
(cljs/find-dependent-names 'goog.testing.PseudoRandom))
@harold
Copy link

harold commented Dec 21, 2023

@thheller

Hello, landed here from here: https://clojurians-log.clojureverse.org/clojurescript/2016-11-26

I am having this exact problem, though I am on [thheller/shadow-cljs "2.26.2"]

Is there some equivalent code path these days that will help me find out who is requiring goog.testing.PseudoRandom?

@harold
Copy link

harold commented Dec 21, 2023

oops - worked around it.

rgrep -l 'goog.testing.Pseudo'

still interested in these apis, if you want to share a pointer to some code or docs...

Thanks!

PS. doing some cljs on node and shadow is helping - appreciate your time and efforts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment