Snoweuph
4121d31b96
All checks were successful
Quality Check / Quality Checks (push) Successful in 6s
14 lines
313 B
Makefile
14 lines
313 B
Makefile
_default:
|
|
just --choose
|
|
|
|
# Lint All Files
|
|
lint:
|
|
@stylua lua/
|
|
|
|
# Static code Analysis
|
|
stan:
|
|
#!/bin/sh
|
|
status=$(lua-language-server --logpath="./log" --chechklevel=Error --check lua/)
|
|
if ! echo "$status" | grep -qF "Diagnosis completed, no problems found"; then
|
|
cat ./log/check.json | jq && exit 1
|
|
fi
|