planck

Planck ClojureScript REPL
ricardo 2016-10-08T06:58:48.000316Z

@mfikes: Is there a way to set the planck classpath as an environment variable, or only the -c parameter?

anmonteiro 2016-10-08T10:37:07.000318Z

@ricardo probably not what you’re after, but FWIW this works:

~/Desktop/ export FOO=om/react.jar
 ~/Desktop planck -c `echo $FOO`
Planck 1.17
ClojureScript 1.9.229
    Docs: (doc function-name-here)
          (find-doc "part-of-name-here")
  Source: (source function-name-here)
    Exit: Control+D or :cljs/quit or exit or quit
 Results: Stored in vars *1, *2, *3, an exception in *e

cljs.user=> (require '[cljsjs.react])
nil
cljs.user=> js/React.version
"15.3.0"
cljs.user=>

mfikes 2016-10-08T12:03:58.000320Z

@ricardo Planck doesn’t read environment variables for classpath. But, if you believe that might be useful, feel free to log an issue in the repo 🙂