oakes / Nightlight

An embedded editor for Clojure
https://sekao.net/nightlight/
The Unlicense
788 stars 35 forks source link

add leiningen plugin #1

Closed kumarshantanu closed 7 years ago

kumarshantanu commented 7 years ago

This PR adds a sub-project to create a Leiningen plugin to launch Nightlight. The project (the one user wants to edit with Nightlight) need not know the existence of Nightlight -- the user can add the plugin to ~/.lein/profiles.clj as follows:

{:user {:plugins [[nightlight/lein-nightlight "1.0.0"]]}}

This PR has kept the versions to 1.0.0 and the default port number to 4000 (as 3000 is commonly used by many projects for web development). Please feel free to edit the details as required.

oakes commented 7 years ago

Thanks so much!

oakes commented 7 years ago

I deployed the plugin and updated the instructions on the website. Exciting! This is a much nicer solution for Leiningen users.