mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-09 08:50:29 +00:00
eb2d617ed8
This uses pre-commit [1] to check patches are well formed and run several linters on them. We currently do some boring things (check files are syntactically valid) as well as some project-specific ones: - Run illuaminate on the Lua files - Run checkstyle on Java [1]: https://pre-commit.com/
10 lines
229 B
Bash
Executable File
10 lines
229 B
Bash
Executable File
#!/usr/bin/env sh
|
|
set -e
|
|
|
|
test -d bin || mkdir bin
|
|
test -f bin/illuaminate || curl -s -obin/illuaminate https://squiddev.cc/illuaminate/linux-x86-64/illuaminate
|
|
chmod +x bin/illuaminate
|
|
|
|
./gradlew luaJavadoc
|
|
bin/illuaminate lint
|