-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FDP-2318: spotless #18
Conversation
Signed-off-by: Loes Immens <[email protected]>
Signed-off-by: Loes Immens <[email protected]>
Signed-off-by: Loes Immens <[email protected]>
Signed-off-by: Loes Immens <[email protected]>
echo "Running git pre-commit hook. Running Spotless Apply... " | ||
echo "*********************************************************" | ||
|
||
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this actually needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. IntelliJ in WSL with sdkman runs a 'dumb' /bin/sh
in which sdkman is not initialized (it is in bash/zsh, not in sh). Java is needed in this pre-commit hook because gradle/spotless is run
@@ -0,0 +1,35 @@ | |||
#!/bin/bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we include a copyright header here as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
license-template.kt
Outdated
@@ -0,0 +1,3 @@ | |||
// SPDX-FileCopyrightText: Contributors to the GXF project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this become:
// SPDX-FileCopyrightText: Contributors to the GXF project | |
// SPDX-FileCopyrightText: Copyright Contributors to the GXF project |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Signed-off-by: Loes Immens <[email protected]>
Signed-off-by: Loes Immens <[email protected]>
Signed-off-by: Loes Immens <[email protected]>
Quality Gate passedIssues Measures |
No description provided.