mirror of
https://github.com/Alfresco/acs-community-packaging.git
synced 2025-09-10 14:12:09 +00:00
ACS-9420 pre-commit checks and reformat code (#1650)
* ACS-9420 Reformat code and add pre-commit checks to CI * Trigger [reformat code] * Apply Pre-Commit code formatting --------- Co-authored-by: alfresco-build <alfresco-build@users.noreply.github.com>
This commit is contained in:
7
scripts/hooks/check-format-and-headers.sh
Executable file
7
scripts/hooks/check-format-and-headers.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set +x
|
||||
|
||||
mvn spotless:apply validate -DlicenseUpdateHeaders=true -Pags,all-tas-tests > /dev/null || true
|
||||
|
||||
set -x
|
Reference in New Issue
Block a user