chore: fix formatting and linting issues

This commit is contained in:
2025-09-10 01:39:13 +03:00
parent 32e6ee3885
commit 5b9b4e4492
2 changed files with 11 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
# Development Commands
## Key Make Targets
- `make help` - Show all available targets with descriptions
- `make check` - Quick health check (tools and version consistency)
- `make test` - Run complete test suite
@@ -11,6 +12,7 @@
- `make dev-setup` - Set up development environment
## Testing
- `make test-unit` - Lua unit tests only
- `make test-integration` - Integration tests
- `make test-golden` - Golden master tests
@@ -18,6 +20,7 @@
- Test runner: `./tests/run_tests.sh`
## Linting
- Uses pre-commit hooks
- ShellCheck for shell scripts
- StyLua for Lua formatting
@@ -26,6 +29,7 @@
- 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)

View File

@@ -1,15 +1,18 @@
# Release Process
## Command
Always use `make release` for releases, not manual version bumping.
## Available Release Commands
- `make release` - Interactive release with menu (patch/minor/major)
- `make release-patch` - Bump patch version (X.Y.Z → X.Y.Z+1)
- `make release-minor` - Bump minor version (X.Y.Z → X.Y+1.0)
- `make release-major` - Bump major version (X.Y.Z → X+1.0.0)
## What make release does:
## What make release does
1. Checks git status is clean
2. Verifies version consistency across files
3. Runs complete test suite
@@ -24,4 +27,5 @@ Always use `make release` for releases, not manual version bumping.
9. Provides next steps for pushing
## Manual Process (DO NOT USE)
The old manual process was error-prone and didn't update all version files consistently.