forked from weavejester/medley
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
45 lines (45 loc) · 2.11 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
(defproject medley "1.4.0"
:description "A lightweight library of useful, mostly pure functions"
:url "https://github.com/weavejester/medley"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.9.0"]]
:plugins [[lein-codox "0.10.8"]
[lein-cljsbuild "1.1.7"]
[lein-doo "0.1.10"]
[lein-clr "0.2.2"]]
:codox
{:output-path "codox"
:metadata {:doc/format :markdown}
:source-uri "http://github.com/weavejester/medley/blob/{version}/{filepath}#L{line}"}
:cljsbuild
{:builds
{:test
{:source-paths ["src" "test"]
:compiler {:output-to "target/main.js"
:output-dir "target"
:main medley.test-runner
:optimizations :simple}}}}
:clr {:cmd-templates {:clj-dep ["mono" ["target/clr/clj" %1]]
:clj-url "https://sourceforge.net/projects/clojureclr/files/clojure-clr-1.10.0-Release-net4.6.1.zip/download"
:clj-zip "clojure-clr-1.10.0-Release-net4.6.1.zip"
:curl ["curl" "--insecure" "-f" "-L" "-o" %1 %2]
:unzip ["unzip" "-d" %1 %2]}
:deps-cmds [[:curl :clj-zip :clj-url]
[:unzip "../clj" :clj-zip]]
:main-cmd [:clj-dep "Clojure.Main461.exe"]
:compile-cmd [:clj-dep "Clojure.Compile.exe"]}
:doo {:paths {:rhino "lein run -m org.mozilla.javascript.tools.shell.Main"}}
:aliases
{"test-cljs" ["doo" "rhino" "test" "once"]
"test-clj" ["with-profile" "default:+1.7:+1.8:+1.10" "test"]
"test-cljr" ["clr" "test" "medley.core-test"]
"test-all" ["do" ["test-clj"] ["test-cljs"] ["test-cljr"]]}
:profiles
{:provided {:dependencies [[org.clojure/clojurescript "1.10.439"]]}
:test {:dependencies [[org.mozilla/rhino "1.7.7"]]}
:dev {:dependencies [[criterium "0.4.3"]]
:jvm-opts ^:replace {}}
:1.7 {:dependencies [[org.clojure/clojure "1.7.0"]]}
:1.8 {:dependencies [[org.clojure/clojure "1.8.0"]]}
:1.10 {:dependencies [[org.clojure/clojure "1.10.0"]]}})