A clojure-clr tool for .NET 3.1+
dotnet tool install --global potion
dotnet add package clojure.tools.nrepl --version 0.1.0-alpha1
is needed
because .NET tools does not include dependencies.
dotnet restore
Command | Description |
---|---|
potion |
Starts a clojure repl with all assemblies loaded from the .csproj file |
potion repl |
Starts a nrepl server on localhost:1667 with all assemblies loaded from the .csproj file |
potion test |
Run tests located in the test directory |
- run
potion repl
- Calva: Connect to a Running Repl Server -> Generic ->
localhost:1667
mkdir -p minimal-example && cd minimal-example && dotnet new console --framework net7.0 && dotnet add package clojure.tools.nrepl --version 0.1.0-alpha1 && rm Program.cs