diff options
| author | Asko Nõmm <asko@bien.ee> | 2021-10-02 01:54:49 -0300 |
|---|---|---|
| committer | Asko Nõmm <asko@bien.ee> | 2021-10-02 01:54:49 -0300 |
| commit | 1ede2c6cb9bc96d56ed3d80fd46c35edc3fc2a0a (patch) | |
| tree | fb4e9b03d720fb9cc579006089dde3b2bdf82b20 | |
| parent | 601011103e7698fbbd3f21f44c3e9ecc59d50e39 (diff) | |
bump
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | project.clj | 1 | ||||
| -rw-r--r-- | src/ruuter/core.clj | 3 |
3 files changed, 7 insertions, 1 deletions
@@ -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 + +[](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 "/" |
