Debian Codegraph @

debian/patches/0001_Lein_Local.patch

raw
1 Patch project.clj to build locally using lein.
2 Index: cpath-clojure/project.clj
3 ===================================================================
4 --- cpath-clojure.orig/project.clj
5 +++ cpath-clojure/project.clj
6 @@ -3,13 +3,10 @@
7 :url "https://github.com/xsc/cpath-clj"
8 :license {:name "Eclipse Public License"
9 :url "http://www.eclipse.org/legal/epl-v10.html"}
10 - :dependencies [[org.clojure/clojure "1.6.0"]
11 - [org.clojure/java.classpath "0.2.2"]]
12 - :profiles {:test {:dependencies [[midje "1.6.3" :exclusions [joda-time]]
13 - [joda-time "2.2"]]
14 - :plugins [[lein-midje "3.1.3"]]
15 + :dependencies [[org.clojure/clojure "1.10.x"]
16 + [org.clojure/java.classpath "debian"]]
17 + :profiles {:test {:dependencies [[joda-time "debian"]]
18 :resource-paths ["test-resources/test1"
19 "test-resources/test2"]}}
20 - :aliases {"test" ["with-profile" "+test" "midje"]
21 - "repl" ["with-profile" "+test" "repl"]}
22 - :pedantic? :abort)
23 + :pedantic? :abort
24 + :local-repo "debian/maven-repo")