mirror of
https://github.com/metosin/reitit.git
synced 2025-12-16 16:01:11 +00:00
Initial module split
* metosin/reitit (all) * metosin/reitit-core (just the router) * metosin/reitit-ring (the ring stuff)
This commit is contained in:
parent
15bfb7b475
commit
4805555417
13 changed files with 35 additions and 5 deletions
1
.deps-versions.clj
Normal file
1
.deps-versions.clj
Normal file
|
|
@ -0,0 +1 @@
|
|||
(def reitit-version "0.1.0-SNAPSHOT")
|
||||
12
lein-modules
Executable file
12
lein-modules
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
# A script that walks the tree of Leiningen projects and does $* on them
|
||||
# original: https://github.com/juxt/yada/blob/master/treelein
|
||||
|
||||
# Modules
|
||||
for ext in reitit-core reitit-ring; do
|
||||
cd modules/$ext; lein $*; cd ../..;
|
||||
done
|
||||
|
||||
# Core
|
||||
lein $*
|
||||
7
modules/reitit-core/project.clj
Normal file
7
modules/reitit-core/project.clj
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
(load-file "../../.deps-versions.clj")
|
||||
(defproject metosin/reitit-core reitit-version
|
||||
:description "Snappy data-driven router for Clojure(Script)"
|
||||
:url "https://github.com/metosin/reitit/tree/master/modules/reitit-core"
|
||||
:license {:name "Eclipse Public License"
|
||||
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
||||
:dependencies [[meta-merge "1.0.0"]])
|
||||
7
modules/reitit-ring/project.clj
Normal file
7
modules/reitit-ring/project.clj
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
(load-file "../../.deps-versions.clj")
|
||||
(defproject metosin/reitit-ring reitit-version
|
||||
:description "Ring routing with reitit"
|
||||
:url "https://github.com/metosin/reitit/tree/master/modules/reitit-ring"
|
||||
:license {:name "Eclipse Public License"
|
||||
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
||||
:dependencies [[metosin/reitit-core ~reitit-version]])
|
||||
13
project.clj
13
project.clj
|
|
@ -1,17 +1,20 @@
|
|||
(defproject metosin/reitit "0.1.0-SNAPSHOT"
|
||||
(load-file ".deps-versions.clj")
|
||||
(defproject metosin/reitit reitit-version
|
||||
:description "Snappy data-driven router for Clojure(Script)"
|
||||
:url "https://github.com/metosin/reitit"
|
||||
:license {:name "Eclipse Public License"
|
||||
:url "http://www.eclipse.org/legal/epl-v10.html"
|
||||
:distribution :repo
|
||||
:comments "same as Clojure"}
|
||||
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
||||
:test-paths ["test/clj" "test/cljc"]
|
||||
:deploy-repositories [["releases" :clojars]]
|
||||
:codox {:output-path "doc"
|
||||
:source-uri "https://github.com/metosin/reitit/{version}/{filepath}#L{line}"
|
||||
:metadata {:doc/format :markdown}}
|
||||
|
||||
:dependencies [[meta-merge "1.0.0"]]
|
||||
:dependencies [[metosin/reitit-core ~reitit-version]
|
||||
[metosin/reitit-ring ~reitit-version]]
|
||||
|
||||
:source-paths ["modules/reitit-core/src"
|
||||
"modules/reitit-ring/src"]
|
||||
|
||||
:plugins [[jonase/eastwood "0.2.5"]
|
||||
[lein-doo "0.1.8"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue