summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsko Nõmm <asko@bien.ee>2021-10-02 01:54:49 -0300
committerAsko Nõmm <asko@bien.ee>2021-10-02 01:54:49 -0300
commit1ede2c6cb9bc96d56ed3d80fd46c35edc3fc2a0a (patch)
treefb4e9b03d720fb9cc579006089dde3b2bdf82b20
parent601011103e7698fbbd3f21f44c3e9ecc59d50e39 (diff)
bump
-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 "/"