Fork me on GitHub
#clr
<
2023-05-26
>
dangercoder20:05:13

If anyone is interested in how to handle dependencies using standard .NET tooling have a look here: https://github.com/Dangercoder/clojure-clr-dotnet-api/blob/master/user.cljr This namespace loads assemblies (the whole dependency graph) by using the output that's given to us by dotnet restore. This means that you can use the .NET CLI that comes out of the box. E.g. add clojure.data.json

dotnet add package clojure.data.json --version 2.4.1
user.cljr will load this automatically (and any dependencies).

👏 4
🙌 2
dangercoder20:05:09

This is only tested on Ubuntu btw.

dangercoder20:05:44

The lower-case usage might break things on Windows

dmiller20:05:04

I just started clojure.main in the root of the repo and it started up just fine. A lot of assemblies loaded.

dangercoder20:05:38

Thanks for testing it, now I can say "It works on our machines" 😄