mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-09-05 11:57:56 +00:00
Fix build failures
- Add license headers. Also check these during pre-commit. - Fix javadoc issue.
This commit is contained in:
@@ -31,6 +31,13 @@ repos:
|
||||
entry: ./gradlew checkstyleMain checkstyleTest
|
||||
pass_filenames: false
|
||||
require_serial: true
|
||||
- id: license
|
||||
name: Check Java license headers
|
||||
files: ".*\\.java$"
|
||||
language: system
|
||||
entry: ./gradlew licenseFormat
|
||||
pass_filenames: false
|
||||
require_serial: true
|
||||
- id: illuaminate
|
||||
name: Check Lua code
|
||||
files: ".*\\.(lua|java|md)"
|
||||
|
Reference in New Issue
Block a user