Skip to content

Commit 040dc7e

Browse files
committed
Fix test helper src to include lib
1 parent 072639c commit 040dc7e

File tree

3 files changed

+109
-4
lines changed

3 files changed

+109
-4
lines changed

test-helper/build.clj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
(def lib 'com.github.clojure-lsp/clojure-lsp-test-helper)
88
(def current-version (string/trim (slurp (io/resource "CLOJURE_LSP_VERSION"))))
99
(def class-dir "target/classes")
10-
(def basis {:project "deps.edn"})
10+
(def basis {:project "deps.edn"
11+
:extra "../lib/deps.edn"})
1112
(def file (format "target/%s.jar" (name lib)))
1213

1314
(defn clean [_]
@@ -19,15 +20,15 @@
1920
:src-pom "./pom.xml"
2021
:version current-version
2122
:basis (b/create-basis basis)
22-
:src-dirs ["src"]
23+
:src-dirs ["src" "../lib/src"]
2324
:scm {:tag current-version}})
2425
(b/copy-file {:src (str class-dir "/META-INF/maven/" lib "/pom.xml") :target "pom.xml"})
2526
(b/copy-file {:src (str class-dir "/META-INF/maven/" lib "/pom.properties") :target "pom.properties"}))
2627

2728
(defn jar [opts]
2829
(clean opts)
2930
(pom opts)
30-
(b/copy-dir {:src-dirs ["src"]
31+
(b/copy-dir {:src-dirs ["src" "../lib/src" "../lib/resources"]
3132
:target-dir class-dir})
3233
(b/jar {:class-dir class-dir
3334
:jar-file file}))

test-helper/pom.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated by org.clojure/tools.build
2-
# Tue May 20 11:35:44 BRT 2025
2+
# Tue May 20 14:31:42 BRT 2025
33
version=2025.04.23-18.16.46
44
groupId=com.github.clojure-lsp
55
artifactId=clojure-lsp-test-helper

test-helper/pom.xml

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,116 @@
66
<artifactId>clojure-lsp-test-helper</artifactId>
77
<version>2025.04.23-18.16.46</version>
88
<name>clojure-lsp-test-helper</name>
9+
<licenses>
10+
<license>
11+
<name>MIT License</name>
12+
<url>http://www.opensource.org/licenses/mit-license.php</url>
13+
<distribution>repo</distribution>
14+
</license>
15+
</licenses>
916
<dependencies>
1017
<dependency>
1118
<groupId>org.clojure</groupId>
1219
<artifactId>clojure</artifactId>
1320
<version>1.12.0</version>
1421
</dependency>
22+
<dependency>
23+
<groupId>org.benf</groupId>
24+
<artifactId>cfr</artifactId>
25+
<version>0.152</version>
26+
</dependency>
27+
<dependency>
28+
<groupId>com.github.clj-easy</groupId>
29+
<artifactId>stub</artifactId>
30+
<version>0.2.3</version>
31+
</dependency>
32+
<dependency>
33+
<groupId>com.github.clojure-lsp</groupId>
34+
<artifactId>lsp4clj</artifactId>
35+
<version>1.13.1</version>
36+
<exclusions>
37+
<exclusion>
38+
<groupId>funcool</groupId>
39+
<artifactId>promesa</artifactId>
40+
</exclusion>
41+
</exclusions>
42+
</dependency>
43+
<dependency>
44+
<groupId>rewrite-clj</groupId>
45+
<artifactId>rewrite-clj</artifactId>
46+
<version>1.2.50</version>
47+
</dependency>
48+
<dependency>
49+
<groupId>io.forward</groupId>
50+
<artifactId>semver</artifactId>
51+
<version>0.1.0</version>
52+
</dependency>
53+
<dependency>
54+
<groupId>clj-kondo</groupId>
55+
<artifactId>clj-kondo</artifactId>
56+
<version>2025.04.07</version>
57+
</dependency>
58+
<dependency>
59+
<groupId>dev.weavejester</groupId>
60+
<artifactId>cljfmt</artifactId>
61+
<version>0.13.0</version>
62+
<exclusions>
63+
<exclusion>
64+
<groupId>rewrite-clj</groupId>
65+
<artifactId>rewrite-clj</artifactId>
66+
</exclusion>
67+
<exclusion>
68+
<groupId>com.googlecode.java-diff-utils</groupId>
69+
<artifactId>diffutils</artifactId>
70+
</exclusion>
71+
</exclusions>
72+
</dependency>
73+
<dependency>
74+
<groupId>com.googlecode.java-diff-utils</groupId>
75+
<artifactId>diffutils</artifactId>
76+
<version>1.3.0</version>
77+
</dependency>
78+
<dependency>
79+
<groupId>com.cognitect</groupId>
80+
<artifactId>transit-clj</artifactId>
81+
<version>1.0.333</version>
82+
</dependency>
83+
<dependency>
84+
<groupId>anonimitoraf</groupId>
85+
<artifactId>clj-flx</artifactId>
86+
<version>1.2.0</version>
87+
</dependency>
88+
<dependency>
89+
<groupId>borkdude</groupId>
90+
<artifactId>rewrite-edn</artifactId>
91+
<version>0.4.9</version>
92+
<exclusions>
93+
<exclusion>
94+
<groupId>rewrite-clj</groupId>
95+
<artifactId>rewrite-clj</artifactId>
96+
</exclusion>
97+
</exclusions>
98+
</dependency>
99+
<dependency>
100+
<groupId>babashka</groupId>
101+
<artifactId>fs</artifactId>
102+
<version>0.5.22</version>
103+
</dependency>
104+
<dependency>
105+
<groupId>com.fabiodomingues</groupId>
106+
<artifactId>clj-depend</artifactId>
107+
<version>0.11.0</version>
108+
</dependency>
109+
<dependency>
110+
<groupId>medley</groupId>
111+
<artifactId>medley</artifactId>
112+
<version>1.4.0</version>
113+
</dependency>
114+
<dependency>
115+
<groupId>org.clojure</groupId>
116+
<artifactId>core.async</artifactId>
117+
<version>1.6.681</version>
118+
</dependency>
15119
</dependencies>
16120
<build>
17121
<sourceDirectory>src</sourceDirectory>

0 commit comments

Comments
 (0)