Skip to content

Dangercoder/potion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Potion

A clojure-clr tool for .NET 3.1+

Installation

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

Commands

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

Visual Studio Code - Calva Setup

https://calva.io/

  1. run potion repl
  2. Calva: Connect to a Running Repl Server -> Generic -> localhost:1667

Creating a new project

 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

About

clojure clr tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published