f413b6d73f
Clojure 1.7.0 will add support for reader conditionals: http://dev.clojure.org/display/design/Reader+Conditionals This patch adds reader conditional support to leiningen, in particular for compilation (including aot and stale files) and testing.
10 lines
283 B
Clojure
10 lines
283 B
Clojure
(ns selectors
|
|
(:use [clojure.test]
|
|
[clojure.java.io]))
|
|
|
|
(defn record-ran [t]
|
|
(let [file-name (format "%s/lein-test-ran"
|
|
(System/getProperty "java.io.tmpdir"))]
|
|
(with-open [w (writer file-name :append true)]
|
|
(.write w (str t "\n")))))
|
|
|