Skip to content

Commit d362eb8

Browse files
committed
Merge branch 'develop' into feature/guard-or
2 parents 972e5c1 + 44b592b commit d362eb8

File tree

84 files changed

+2826
-4173
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+2826
-4173
lines changed

.github/workflows/auto-format.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
# コードフォーマットの実行(※1)
2828
- name: Code format
2929
run: |
30-
sudo apt install npm
31-
npm install .
32-
npx prettier --write "**/*.java"
33-
30+
shopt -s globstar
31+
wget -q -O google-java-format.jar \
32+
https://github.com/google/google-java-format/releases/download/v1.15.0/google-java-format-1.15.0-all-deps.jar
33+
java -jar google-java-format.jar --replace --skip-javadoc-formatting src/**/*.java
3434
# 上の例ではすべての変更に対してフォーマッタを加えております。
3535
# プルリクエスト時の変更を取る場合はgit log
3636
# で変更差分のみ取得してフォーマッタをかけましょう。(※2)

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ Any contributions you make are **greatly appreciated**.
4545

4646
### Formatting
4747

48-
We are currently using prettier-java.
48+
We are currently using google-java-format.
4949

5050
```sh
51-
npm install # install prettier
52-
npx prettier --write "**/*.java"
51+
wget https://github.com/google/google-java-format/releases/download/v1.15.0/google-java-format-1.15.0-all-deps.jar
52+
java -jar /path/to/google-java-format-1.15.0-all-deps.jar --replace --skip-javadoc-formatting [files...]
5353
```
5454

55-
See <https://github.com/jhipster/prettier-java> for more detailed information.
55+
See <https://github.com/google/google-java-format> for more detailed information.
5656

5757
### Directory structure
5858

0 commit comments

Comments
 (0)