diffs.nvim/scripts/ci.sh
2026-03-04 14:15:37 -05:00

10 lines
321 B
Bash
Executable file

#!/bin/sh
set -eu
nix develop --command stylua --check .
git ls-files '*.lua' | xargs nix develop --command selene --display-style quiet
nix develop --command prettier --check .
nix fmt
git diff --exit-code -- '*.nix'
nix develop --command lua-language-server --check . --checklevel=Warning
nix develop --command busted