2015-06-22 18:37:16 +00:00
|
|
|
(def VERSION (.trim (slurp "VERSION")))
|
|
|
|
|
|
|
|
|
|
(defproject com.rpl/specter VERSION
|
2016-06-05 00:49:57 +00:00
|
|
|
:jvm-opts ["-XX:-OmitStackTraceInFastThrow" ; this prevents JVM from doing optimizations which can remove stack traces from NPE and other exceptions
|
|
|
|
|
;"-agentpath:/Applications/YourKit_Java_Profiler_2015_build_15056.app/Contents/Resources/bin/mac/libyjpagent.jnilib"
|
|
|
|
|
]
|
2015-12-16 05:53:50 +00:00
|
|
|
:source-paths ["src/clj"]
|
|
|
|
|
:java-source-paths ["src/java"]
|
2015-10-09 16:33:24 +00:00
|
|
|
:test-paths ["test", "target/test-classes"]
|
2015-10-10 16:32:32 +00:00
|
|
|
:jar-exclusions [#"\.cljx"]
|
|
|
|
|
:auto-clean false
|
2016-05-28 23:00:58 +00:00
|
|
|
:dependencies [[riddley "0.1.12"]]
|
2016-06-02 15:59:19 +00:00
|
|
|
:plugins [[lein-codox "0.9.5"]]
|
|
|
|
|
:codox {:source-paths ["target/classes" "src/clj"]
|
|
|
|
|
:namespaces [com.rpl.specter
|
|
|
|
|
com.rpl.specter.macros
|
2016-06-07 18:40:31 +00:00
|
|
|
com.rpl.specter.zipper
|
2016-06-08 10:02:41 +00:00
|
|
|
com.rpl.specter.protocols
|
2016-06-09 13:24:18 +00:00
|
|
|
com.rpl.specter.transients]
|
2016-06-02 15:59:19 +00:00
|
|
|
:source-uri
|
2016-06-02 16:17:02 +00:00
|
|
|
{#"target/classes" "https://github.com/nathanmarz/specter/tree/{version}/src/clj/{classpath}x#L{line}"
|
|
|
|
|
#".*" "https://github.com/nathanmarz/specter/tree/{version}/src/clj/{classpath}#L{line}"
|
|
|
|
|
}
|
2016-06-02 15:59:19 +00:00
|
|
|
}
|
2016-06-06 11:58:29 +00:00
|
|
|
:profiles {:dev {:dependencies
|
|
|
|
|
[[org.clojure/test.check "0.7.0"]
|
|
|
|
|
[org.clojure/clojure "1.7.0"]
|
|
|
|
|
[org.clojure/clojurescript "1.7.10"]]
|
2015-10-09 16:33:24 +00:00
|
|
|
:plugins
|
|
|
|
|
[[com.keminglabs/cljx "0.6.0"]]
|
2015-12-16 05:53:50 +00:00
|
|
|
:cljx {:builds [{:source-paths ["src/clj"]
|
2015-10-09 16:33:24 +00:00
|
|
|
:output-path "target/classes"
|
|
|
|
|
:rules :clj}
|
2015-12-16 05:53:50 +00:00
|
|
|
{:source-paths ["src/clj"]
|
2015-10-09 16:33:24 +00:00
|
|
|
:output-path "target/classes"
|
|
|
|
|
:rules :cljs}
|
|
|
|
|
{:source-paths ["test"]
|
|
|
|
|
:output-path "target/test-classes"
|
|
|
|
|
:rules :clj}
|
|
|
|
|
{:source-paths ["test"]
|
|
|
|
|
:output-path "target/test-classes"
|
2015-10-09 19:08:08 +00:00
|
|
|
:rules :cljs}]}
|
2015-10-10 16:32:32 +00:00
|
|
|
}
|
2016-06-06 11:58:29 +00:00
|
|
|
:test {:dependencies [[org.clojure/clojure "1.6.0"]]}
|
2015-10-10 16:32:32 +00:00
|
|
|
}
|
|
|
|
|
:aliases {"cleantest" ["do" "clean,"
|
|
|
|
|
"cljx" "once,"
|
|
|
|
|
"test"]
|
2016-06-09 12:06:17 +00:00
|
|
|
"deploy" ["do" "clean," "cljx" "once," "deploy" "clojars"]}
|
|
|
|
|
)
|