Fork me on GitHub
#lumo
<
2018-03-23
>
benzap00:03:25

Is there a particular way to provide a global repository for lumo dependency consumption with regards to clojurescript dependencies? It would be great if I could just litter my OS with one-off scripts from time to time, and just being able to call lumo my_script.cljs with predefined Environment Variables. Or is this sort of thing already possible, and i'm behind in the features?

👍 4
mfikes02:03:35

It sounds like @benzap may be describing a LUMO_CLASSPATH analog of PLANCK_CLASSPATH (see http://planck-repl.org/dependencies.html)

mfikes02:03:33

Although, I guess for that to really work the example might need to be lumo @/my_script.cljs

richiardiandrea03:03:05

It would be definitely awesome to have something like that even maybe at the -D level if it makes sense

richiardiandrea03:03:51

The situation can be handled by clj too, the lumo call will need to be wrapped though

richiardiandrea03:03:38

There is a global deps.edn after all and I don't think we want to duplicate that

benzap03:03:58

i'm going to check out LUMO_CLASSPATH

benzap03:03:20

I'm on windows unfortunately, so I can't make use of clj yet

mfikes03:03:26

Doesn’t exist, right?

mfikes03:03:33

(`LUMO_CLASSPATH`)

richiardiandrea03:03:44

No there is no LUMO_CLASSPATH yet

benzap03:03:46

oh, that doesn't exist?

benzap03:03:51

Honestly, to make use of any sort of script one-liners and the like, windows is a difficult place to get anything working 🙂

simple_smile 4