File tree Expand file tree Collapse file tree 4 files changed +21
-58
lines changed Expand file tree Collapse file tree 4 files changed +21
-58
lines changed Original file line number Diff line number Diff line change 89
89
Running utility commands/checks (linter etc.)
90
90
Always uses Java11 and Clojure 1.10
91
91
parameters :
92
+ jdk_version :
93
+ description : Version of JDK to test against
94
+ type : string
92
95
steps :
93
96
type : steps
94
- executor : openjdk11
97
+ executor : << parameters.jdk_version >>
95
98
environment :
96
99
VERSION : " 1.10"
97
100
steps :
@@ -191,7 +194,16 @@ workflows:
191
194
clojure_version : " master"
192
195
jdk_version : openjdk15
193
196
- util_job :
194
- name : Code Linting
197
+ name : Code Linting, JDK8 (Eastwood only)
198
+ jdk_version : openjdk8
199
+ steps :
200
+ - run :
201
+ name : Running Eastwood
202
+ command : |
203
+ make eastwood
204
+ - util_job :
205
+ name : Code Linting, (latest LTS JDK)
206
+ jdk_version : openjdk11
195
207
steps :
196
208
- run :
197
209
name : Running Eastwood
Original file line number Diff line number Diff line change 13
13
test-watch : test-resources/clojuredocs/export.edn
14
14
lein with-profile +$(VERSION ) ,$(TEST_PROFILES ) test-refresh
15
15
16
- # Eastwood can't handle orchard.java.legacy-parser at the moment, because
17
- # tools.jar isn't in the classpath when Eastwood runs.
18
-
19
16
eastwood :
20
- lein with-profile +$(VERSION ) ,+eastwood,$(TEST_PROFILES ) eastwood \
21
- " {:exclude-namespaces [orchard.java.legacy-parser]}"
17
+ lein with-profile +$(VERSION ) ,+eastwood,$(TEST_PROFILES ) eastwood
22
18
23
19
cljfmt :
24
20
lein with-profile +$(VERSION ) ,+cljfmt cljfmt check
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 57
57
merge-meta [[:inner 0 ]]
58
58
letfn [[:block 1 ] [:inner 2 ]]}}}
59
59
60
- :eastwood {:plugins [[jonase/eastwood " 0.3.4" ]]
61
- :eastwood {:config-files [" eastwood.clj" ]}}})
60
+ :eastwood {:plugins [[jonase/eastwood " 0.4.0" ]]
61
+ :eastwood {:exclude-namespaces [~(if (-> " java.version"
62
+ System/getProperty
63
+ (.contains " 1.8." ))
64
+ 'orchard.java.parser
65
+ 'orchard.java.legacy-parser)]}}})
You can’t perform that action at this time.
0 commit comments