mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 00:11:11 +00:00
Fix based on Miikka's comments
This commit is contained in:
parent
4805555417
commit
460ba5ecc0
4 changed files with 9 additions and 8 deletions
|
|
@ -3,10 +3,12 @@
|
|||
# A script that walks the tree of Leiningen projects and does $* on them
|
||||
# original: https://github.com/juxt/yada/blob/master/treelein
|
||||
|
||||
set -e
|
||||
|
||||
# Modules
|
||||
for ext in reitit-core reitit-ring; do
|
||||
cd modules/$ext; lein $*; cd ../..;
|
||||
done
|
||||
cd modules/$ext; lein $@; cd ../..;
|
||||
done
|
||||
|
||||
# Core
|
||||
lein $*
|
||||
lein $@
|
||||
|
|
|
|||
|
|
@ -1,7 +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"
|
||||
:url "https://github.com/metosin/reitit"
|
||||
:license {:name "Eclipse Public License"
|
||||
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
||||
:dependencies [[meta-merge "1.0.0"]])
|
||||
|
|
|
|||
|
|
@ -1,7 +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"
|
||||
:url "https://github.com/metosin/reitit"
|
||||
:license {:name "Eclipse Public License"
|
||||
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
||||
:dependencies [[metosin/reitit-core ~reitit-version]])
|
||||
|
|
|
|||
|
|
@ -13,9 +13,6 @@
|
|||
: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"]
|
||||
[lein-cljsbuild "1.1.7"]
|
||||
|
|
@ -24,6 +21,8 @@
|
|||
[metosin/boot-alt-test "0.4.0-20171019.180106-3"]]
|
||||
|
||||
:profiles {:dev {:jvm-opts ^:replace ["-server"]
|
||||
:source-paths ["modules/reitit-core/src"
|
||||
"modules/reitit-ring/src"]
|
||||
:dependencies [[org.clojure/clojure "1.9.0-beta2"]
|
||||
[org.clojure/clojurescript "1.9.946"]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue