-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
28 lines (28 loc) · 1.64 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
(defproject clip-test "0.2.1"
:description "Subset of `clojure.test` for Clojure and ClojureScript"
:url "https://github.com/kumarshantanu/clip-test"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
;; :dependencies [[org.clojure/clojure "1.4.0"]]
:warn-on-reflection true
:plugins [[lein-cljsbuild "0.2.9"]]
:profiles {:jst {:source-paths ["src" "test"]
;; Enable the lein hooks for: clean, compile, test, and jar
;; :hooks [leiningen.cljsbuild]
:cljsbuild {:crossovers [clip-test.core-test
clip-test.internal]
;; Command for running the unit tests in CLJS
;; $ lein cljsbuild test
:test-commands {"unit" ["phantomjs"
"run-tests.js"]}
:builds {:test {:source-path "test-cljs"
:compiler
{:output-to "target/clip-test.js"
;; :optimizations nil
:pretty-print true}}}}}
:1.2 {:dependencies [[org.clojure/clojure "1.2.1"]]}
:1.3 {:dependencies [[org.clojure/clojure "1.3.0"]]}
:1.4 {:dependencies [[org.clojure/clojure "1.4.0"]]}
:1.5 {:dependencies [[org.clojure/clojure "1.5.0-alpha7"]]}}
:aliases {"all" ["with-profile" "1.2:1.3:1.4:1.5"]
"dev" ["with-profile" "1.4,jst"]})