ci: script

This commit is contained in:
Barrett Ruth 2026-03-28 00:52:19 -04:00
parent f96eaf5938
commit 0c41ff01fb
No known key found for this signature in database
GPG key ID: A6C96C9349D2FC81

9
scripts/ci.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
set -eu
nix develop .#ci --command stylua --check .
git ls-files '*.lua' | xargs nix develop .#ci --command selene --display-style quiet
nix develop .#ci --command prettier --check .
nix fmt -- --check .
nix develop .#ci --command lua-language-server --check lua --configpath "$(pwd)/.luarc.json" --checklevel=Warning
nix develop .#ci --command vimdoc-language-server check doc/