2018-02-19 20:03:30 +00:00
|
|
|
(defproject metosin/reitit-parent "0.1.0"
|
2017-08-07 11:08:39 +00:00
|
|
|
:description "Snappy data-driven router for Clojure(Script)"
|
|
|
|
|
:url "https://github.com/metosin/reitit"
|
|
|
|
|
:license {:name "Eclipse Public License"
|
2017-10-26 16:25:09 +00:00
|
|
|
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
2017-08-07 11:08:39 +00:00
|
|
|
: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}}
|
|
|
|
|
|
2018-02-19 20:03:30 +00:00
|
|
|
:managed-dependencies [[metosin/reitit "0.1.0"]
|
|
|
|
|
[metosin/reitit-core "0.1.0"]
|
|
|
|
|
[metosin/reitit-ring "0.1.0"]
|
|
|
|
|
[metosin/reitit-spec "0.1.0"]
|
|
|
|
|
[metosin/reitit-schema "0.1.0"]
|
2017-10-28 09:47:55 +00:00
|
|
|
|
|
|
|
|
[meta-merge "1.0.0"]
|
2018-02-19 05:43:42 +00:00
|
|
|
[metosin/spec-tools "0.6.1"]
|
2018-02-19 19:57:55 +00:00
|
|
|
[metosin/schema-tools "0.10.0"]]
|
2017-10-28 09:47:55 +00:00
|
|
|
|
2017-10-25 14:26:18 +00:00
|
|
|
:plugins [[jonase/eastwood "0.2.5"]
|
|
|
|
|
[lein-doo "0.1.8"]
|
|
|
|
|
[lein-cljsbuild "1.1.7"]
|
2017-12-09 20:50:04 +00:00
|
|
|
[lein-cloverage "1.0.10"]
|
2017-10-25 14:26:18 +00:00
|
|
|
[lein-codox "0.10.3"]
|
|
|
|
|
[metosin/boot-alt-test "0.4.0-20171019.180106-3"]]
|
|
|
|
|
|
|
|
|
|
:profiles {:dev {:jvm-opts ^:replace ["-server"]
|
2017-10-28 09:17:20 +00:00
|
|
|
|
|
|
|
|
;; all module sources for development
|
|
|
|
|
:source-paths ["modules/reitit/src"
|
|
|
|
|
"modules/reitit-core/src"
|
|
|
|
|
"modules/reitit-ring/src"
|
2017-11-24 17:09:45 +00:00
|
|
|
"modules/reitit-spec/src"
|
|
|
|
|
"modules/reitit-schema/src"]
|
2017-10-28 09:17:20 +00:00
|
|
|
|
2017-12-09 20:50:04 +00:00
|
|
|
:dependencies [[org.clojure/clojure "1.9.0"]
|
2017-10-25 14:26:18 +00:00
|
|
|
[org.clojure/clojurescript "1.9.946"]
|
2017-08-30 05:19:21 +00:00
|
|
|
|
2017-11-26 19:51:21 +00:00
|
|
|
;; modules dependencies
|
2017-10-28 09:47:55 +00:00
|
|
|
[metosin/reitit]
|
2018-02-19 19:57:55 +00:00
|
|
|
[metosin/schema-tools "0.10.0"]
|
2017-08-30 05:19:21 +00:00
|
|
|
|
2018-02-19 05:43:42 +00:00
|
|
|
[expound "0.5.0"]
|
2017-12-09 20:50:04 +00:00
|
|
|
[orchestra "2017.11.12-1"]
|
2017-09-01 08:32:08 +00:00
|
|
|
|
2017-12-03 15:43:40 +00:00
|
|
|
[ring "1.6.3"]
|
2018-02-19 05:43:42 +00:00
|
|
|
[metosin/muuntaja "0.5.0"]
|
|
|
|
|
[metosin/jsonista "0.1.1"]
|
2017-12-01 07:32:26 +00:00
|
|
|
|
2017-10-28 10:00:15 +00:00
|
|
|
[criterium "0.4.4"]
|
2017-08-07 11:08:39 +00:00
|
|
|
[org.clojure/test.check "0.9.0"]
|
|
|
|
|
[org.clojure/tools.namespace "0.2.11"]
|
2017-10-22 14:49:59 +00:00
|
|
|
[com.gfredericks/test.chuck "0.2.8"]]}
|
2017-10-02 05:06:02 +00:00
|
|
|
:perf {:jvm-opts ^:replace ["-server"
|
|
|
|
|
"-Xmx4096m"
|
2017-10-22 14:49:59 +00:00
|
|
|
"-Dclojure.compiler.direct-linking=true"]
|
|
|
|
|
:test-paths ["perf-test/clj"]
|
2017-11-24 16:58:17 +00:00
|
|
|
:dependencies [[compojure "1.6.0"]
|
2018-02-19 05:43:42 +00:00
|
|
|
[org.immutant/immutant "2.1.10"]
|
2017-10-22 14:49:59 +00:00
|
|
|
[io.pedestal/pedestal.route "0.5.3"]
|
2018-02-19 05:43:42 +00:00
|
|
|
[org.clojure/core.async "0.4.474"]
|
2017-08-08 12:31:00 +00:00
|
|
|
[ataraxy "0.4.0"]
|
2018-02-19 05:43:42 +00:00
|
|
|
[bidi "2.1.3"]]}
|
2017-10-02 05:06:02 +00:00
|
|
|
:analyze {:jvm-opts ^:replace ["-server"
|
|
|
|
|
"-Dclojure.compiler.direct-linking=true"
|
|
|
|
|
"-XX:+PrintCompilation"
|
|
|
|
|
"-XX:+UnlockDiagnosticVMOptions"
|
|
|
|
|
"-XX:+PrintInlining"]}}
|
2017-08-07 11:08:39 +00:00
|
|
|
:aliases {"all" ["with-profile" "dev"]
|
|
|
|
|
"perf" ["with-profile" "default,dev,perf"]
|
2017-10-25 14:26:18 +00:00
|
|
|
"test-clj" ["all" "do" ["alt-test"] ["check"]]
|
2017-10-25 14:32:12 +00:00
|
|
|
"test-browser" ["doo" "chrome-headless" "test"]
|
2017-10-25 14:26:18 +00:00
|
|
|
"test-advanced" ["doo" "chrome-headless" "advanced-test"]
|
2017-08-07 11:08:39 +00:00
|
|
|
"test-node" ["doo" "node" "node-test"]}
|
2017-10-25 14:26:18 +00:00
|
|
|
|
|
|
|
|
:alt-test {:report [:pretty
|
|
|
|
|
{:type :junit
|
|
|
|
|
:output-to "target/junit.xml"}]}
|
|
|
|
|
|
2017-08-07 11:08:39 +00:00
|
|
|
:cljsbuild {:builds [{:id "test"
|
|
|
|
|
:source-paths ["src" "test/cljc" "test/cljs"]
|
|
|
|
|
:compiler {:output-to "target/out/test.js"
|
|
|
|
|
:output-dir "target/out"
|
|
|
|
|
:main reitit.doo-runner
|
|
|
|
|
:optimizations :none}}
|
|
|
|
|
{:id "advanced-test"
|
|
|
|
|
:source-paths ["src" "test/cljc" "test/cljs"]
|
|
|
|
|
:compiler {:output-to "target/advanced_out/test.js"
|
|
|
|
|
:output-dir "target/advanced_out"
|
|
|
|
|
:main reitit.doo-runner
|
|
|
|
|
:optimizations :advanced}}
|
|
|
|
|
;; Node.js requires :target :nodejs, hence the separate
|
|
|
|
|
;; build configuration.
|
|
|
|
|
{:id "node-test"
|
|
|
|
|
:source-paths ["src" "test/cljc" "test/cljs"]
|
|
|
|
|
:compiler {:output-to "target/node_out/test.js"
|
|
|
|
|
:output-dir "target/node_out"
|
|
|
|
|
:main reitit.doo-runner
|
|
|
|
|
:optimizations :none
|
|
|
|
|
:target :nodejs}}]})
|