mirror of
https://github.com/ivuorinen/nvim-shellspec.git
synced 2026-01-26 03:24:00 +00:00
1.1 KiB
1.1 KiB
Development Commands
Key Make Targets
make help- Show all available targets with descriptionsmake check- Quick health check (tools and version consistency)make test- Run complete test suitemake lint- Run all lintersmake format- Format all code (auto-fix where possible)make ci- Full CI pipeline (check, test, lint)make clean- Remove temporary filesmake dev-setup- Set up development environment
Testing
make test-unit- Lua unit tests onlymake test-integration- Integration testsmake test-golden- Golden master testsmake test-bin- Standalone formatter tests- Test runner:
./tests/run_tests.sh
Linting
- Uses pre-commit hooks
- ShellCheck for shell scripts
- StyLua for Lua formatting
- markdownlint for Markdown
- yamllint for YAML files
- shfmt for shell script formatting
Version Management
- Three files must stay in sync:
lua/shellspec/init.lua(M._VERSION)plugin/shellspec.vim(g:shellspec_version)bin/shellspec-format(version string)
make version-checkverifies consistency