diff --git a/scripts/ci.sh b/scripts/ci.sh new file mode 100755 index 0000000..86cc65d --- /dev/null +++ b/scripts/ci.sh @@ -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/