summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--project.clj1
-rw-r--r--src/ruuter/core.clj3
3 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 228bf02..ef9ea38 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,10 @@
A tiny HTTP router that operates with a simple data structure where each route is a map inside a vector. Yup, that's it. No magic, no bullshit.
+## Installation
+
+[![Clojars Project](https://img.shields.io/clojars/v/org.clojars.askonomm/ruuter.svg)](https://clojars.org/org.clojars.askonomm/ruuter)
+
## Usage
### Setting up
diff --git a/project.clj b/project.clj
index 505f6e1..e2afac1 100644
--- a/project.clj
+++ b/project.clj
@@ -7,4 +7,5 @@
[http-kit "2.5.3"]]
:main ruuter.core
:min-lein-version "2.0.0"
+ :aot [ruuter.core]
:repl-options {:init-ns ruuter.core})
diff --git a/src/ruuter/core.clj b/src/ruuter/core.clj
index 2504b6f..e646f7e 100644
--- a/src/ruuter/core.clj
+++ b/src/ruuter/core.clj
@@ -1,6 +1,7 @@
(ns ruuter.core
(:require [clojure.string :as string]
- [org.httpkit.server :as http]))
+ [org.httpkit.server :as http])
+ (:gen-class))
(def routes [{:path "/"