File: 0001_Lein_Local.patch

package info (click to toggle)
useful-clojure 0.11.6-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 428 kB
  • sloc: sh: 71; makefile: 19
file content (27 lines) | stat: -rw-r--r-- 1,260 bytes parent folder | download
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
Patch project.clj to build locally using lein.
Index: useful-clojure/project.clj
===================================================================
--- useful-clojure.orig/project.clj
+++ useful-clojure/project.clj
@@ -4,9 +4,9 @@
             :url "http://www.eclipse.org/legal/epl-v10.html"
             :distribution :repo}
   :url "https://github.com/amalloy/useful"
-  :dependencies [[org.clojure/clojure "1.9.0"]
-                 [org.clojure/tools.macro "0.1.1"]
-                 [org.clojure/tools.reader "0.7.2"]]
+  :dependencies [[org.clojure/clojure "1.10.x"]
+                 [org.clojure/tools.macro "debian"]
+                 [org.clojure/tools.reader "debian"]]
   :aliases {"testall" ["with-profile" "1.6:1.7:1.8:1.9:1.10" "test"]}
   :profiles {:1.10 {:dependencies [[org.clojure/clojure "1.10.0-RC3"]]}
              :1.9  {}
@@ -15,6 +15,6 @@
              :1.6  {:dependencies [[org.clojure/clojure "1.6.0"]]}}
   :deploy-repositories [["releases" :clojars]
                         ["snapshots" :clojars]]
-  :plugins [[codox "0.8.0"]]
   :codox {:src-dir-uri "http://github.com/flatland/useful/blob/develop/"
-          :src-linenum-anchor-prefix "L"})
+          :src-linenum-anchor-prefix "L"}
+  :local-repo "debian/maven-repo")