A Leiningen plugin to run lein-ring and ring-servlet with Servlet 3 API.
Put [com.andrewmcveigh/lein-boot "0.2.6"]
into the :plugins
vector
of your project.clj.
This plugin automatically adds the following dependencies, if other versions do not already exist in your project.clj:
[ring/ring-servlet "1.1.8"]
[org.eclipse.jetty/jetty-webapp "8.1.0.RC5"]
The following hooks exist
leiningen.boot.hooks.test
leiningen.boot.hooks.jar
leiningen.boot.hooks.uberjar
To put in your project.clj
:hooks [leiningen.boot.hooks.test
leiningen.boot.hooks.jar
leiningen.boot.hooks.uberjar]
$ lein boot
$ lein boot :port 8080
$ lein test
$ lein ring jar
$ lein ring uberjar
Copyright © 2013 Andrew Mcveigh
Distributed under the Eclipse Public License, the same as Clojure.