File tree Expand file tree Collapse file tree 4 files changed +34
-91
lines changed
src/main/java/org/eolang/lints Expand file tree Collapse file tree 4 files changed +34
-91
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com
3+ * SPDX-License-Identifier: MIT
4+ */
5+
6+ package org.eolang.lints
7+
8+ static def saveLint (Lint<?> lint ) {
9+ new File (" tmp/${ lint.name()} .md" ). text = lint. motive()
10+ }
11+
12+ new PkMono (). forEach {
13+ saveLint(it)
14+ }
15+
16+ new PkWpa (). forEach {
17+ saveLint(it)
18+ }
Original file line number Diff line number Diff line change 1414rm -rf " gh-pages/${tag} "
1515mkdir -p " gh-pages/${tag} "
1616
17- mkdir " gh-pages/ ${tag} -md "
18- mvn clean compile exec:java " -Dexec.args= ${tag} "
17+ mkdir tmp
18+ mvn clean compile gplus:execute
1919
2020while IFS= read -r f; do
2121 n=$( basename " ${f} " .md)
2222 html=gh-pages/${tag} /${n} .html
2323 pandoc " ${f} " -o " ${html} "
2424 echo " ${n} -> $( du -b " ${html} " | cut -f1) bytes"
25- done < <( find " gh-pages/ ${tag} -md " -name ' *.md' )
25+ done < <( find tmp -name ' *.md' )
2626
2727list_them () {
2828 printf " <ul>\n"
Original file line number Diff line number Diff line change 243243 <configuration >
244244 <excludes >
245245 <exclude >pmd:/src/it/.*</exclude >
246- <exclude >pmd:/src/main/java/org/eolang/lints/SaveAll.java</exclude >
247246 <exclude >checkstyle:/src/it/.*</exclude >
248- <exclude >checkstyle:/src/main/java/org/eolang/lints/SaveAll.java</exclude >
249247 <exclude >duplicatefinder:.*</exclude >
250248 <exclude >dependencies:.*</exclude >
251249 </excludes >
537535 </executions >
538536 </plugin >
539537 <plugin >
540- <groupId >org.codehaus.mojo</groupId >
541- <artifactId >exec-maven-plugin</artifactId >
542- <version >3.5.0</version >
543- <executions >
544- <execution >
545- <goals >
546- <goal >java</goal >
547- </goals >
548- </execution >
549- </executions >
538+ <groupId >org.codehaus.gmavenplus</groupId >
539+ <artifactId >gmavenplus-plugin</artifactId >
540+ <version >4.1.1</version >
550541 <configuration >
551- <mainClass >org.eolang.lints.SaveAll</mainClass >
542+ <scripts >
543+ <script >./.github/motives.groovy</script >
544+ </scripts >
552545 </configuration >
546+ <dependencies >
547+ <dependency >
548+ <groupId >org.apache.groovy</groupId >
549+ <artifactId >groovy</artifactId >
550+ <version >4.0.26</version >
551+ </dependency >
552+ </dependencies >
553553 </plugin >
554554 </plugins >
555555 </build >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments