Skip to content

Commit

Permalink
ci: make javadoc with multiple threads
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Nuri <marc@marcnuri.com>
  • Loading branch information
manusa committed Oct 11, 2024
1 parent eaa1b73 commit 7c9f0be
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/javadocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ jobs:
java-version: '11'
distribution: 'temurin'
- name: Check Java Docs
run: ./mvnw ${MAVEN_ARGS} clean install javadoc:jar -DskipTests -Pjavadoc-test
run: make javadoc
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ sonar: clean
# $(MAVEN_ARGS) ---> -T 1C won't work with sonar analysis (yet)
mvn -Psonar install sonar:sonar

.PHONY: javadoc
javadoc: clean
mvn $(MAVEN_ARGS) install javadoc:jar -DskipTests -Pjavadoc-test

.PHONY: format-license
format-license:
mvn $(MAVEN_ARGS) -N license:format
Expand All @@ -69,6 +73,9 @@ format-license:
format-java:
mvn $(MAVEN_ARGS) spotless:apply -Pitests

.PHONY: format
format: format-license format-java

.PHONY:
quickly: clean
mvn $(MAVEN_ARGS) install -DskipTests -Djacoco.skip=true

0 comments on commit 7c9f0be

Please sign in to comment.