Hi folks - what's the easiest, fastest way to start a nREPL server on Clojure CLR? I'm trying to run it on a CI server for a tool I'm developing
Potion worked for me, thanks 🙂
Something like (clojure.tools.nrepl/start-server! {:port 1667})
But how do I actually install/make clojure.tools.nrepl visible?
(Literally first time I'm trying to run ClojureCLR 😅 )
Do you have the dotnet command line tool in your environment? If so then you could use potion: https://github.com/Dangercoder/potion
@mauricio.szabo You can use an env var to provide a path of places to load code from, if that helps:
$Env:CLOJURE_LOAD_PATH='src'; Clojure.Main -m starter.hello
I can't remember what separator you need for multiple paths (it's been a while and July has been... distracting).Maybe having a look at this mini repo can help: https://github.com/PEZ/clojure-clr-starter