leiningen/test_projects/sample/project.clj

27 lines
1.1 KiB
Clojure
Raw Normal View History

;; This project is used for leiningen's test suite, so don't change
;; any of these values without updating the relevant tests. If you
;; just want a basic project to work from, generate a new one with
;; "lein new".
2012-06-14 23:26:22 +00:00
(def clj-version "1.3.0")
2009-11-29 04:33:28 +00:00
(defproject nomnomnom "0.5.0-SNAPSHOT"
:description "A test project"
:dependencies [[~(symbol "org.clojure" "clojure") ~clj-version]
2012-01-07 04:37:50 +00:00
[rome ~(str "0." "9")]
[ring "1.0.0"]]
:main nom.nom.nom
:warn-on-reflection true
:shell-wrapper {:main nom.nom.nom
:bin "bin/nom"}
:jar-exclusions [#"^META-INF"]
:filespecs [{:type :fn :fn (fn [p] {:type :bytes :path "bytes.clj"
:bytes (str "[:bytes \"are\" "
(:name p) "]")})}]
:test-selectors {:integration :integration
:default (complement :integration)
2010-11-12 05:37:09 +00:00
:random (fn [_] (> (rand) ~(float 1/2)))
2011-02-11 22:52:35 +00:00
:all (constantly true)}
:repositories {"snapshots" ~(format "file://%s/lein-repo"
(System/getProperty "java.io.tmpdir"))})