974ef45c29
Gate each check behind staged file pattern matching so a docs or backlog change no longer triggers the full test suite. Add presto pytest and Docker image validation guards. Fall back to running all checks when invoked directly (not via git commit).
132 lines
2.1 KiB
Markdown
132 lines
2.1 KiB
Markdown
## `ci:watch`
|
|
|
|
- **Usage**: `ci:watch`
|
|
|
|
Watch CI running
|
|
|
|
## `dev:console`
|
|
|
|
- **Usage**: `dev:console`
|
|
|
|
Run the application attached to an IEx console
|
|
|
|
## `dev:fix-translations`
|
|
|
|
- **Usage**: `dev:fix-translations`
|
|
|
|
Fix translation file conflicts
|
|
|
|
## `dev:lint`
|
|
|
|
- **Usage**: `dev:lint`
|
|
|
|
Run static checks for code formatting, translations, quality
|
|
|
|
## `dev:outdated`
|
|
|
|
- **Usage**: `dev:outdated`
|
|
|
|
Show outdated dependencies.
|
|
|
|
## `dev:partitioned-test`
|
|
|
|
- **Usage**: `dev:partitioned-test <partition_number>`
|
|
|
|
Run project tests
|
|
|
|
### Arguments
|
|
|
|
#### `<partition_number>`
|
|
|
|
The number of the partition
|
|
|
|
## `dev:pi-test`
|
|
|
|
- **Usage**: `dev:pi-test`
|
|
|
|
Run pi tests
|
|
|
|
## `dev:precommit`
|
|
|
|
- **Usage**: `dev:precommit`
|
|
|
|
Run checks before a commit (conditional on staged file types)
|
|
|
|
## `dev:readme`
|
|
|
|
- **Usage**: `dev:readme`
|
|
|
|
Render README.md with GitHub Flavored Markdown preview
|
|
|
|
## `dev:setup`
|
|
|
|
- **Usage**: `dev:setup`
|
|
|
|
Setup the local development environment
|
|
|
|
## `dev:sqlite-console`
|
|
|
|
- **Usage**: `dev:sqlite-console`
|
|
|
|
Open an SQLite console to the development database with extensions loaded
|
|
|
|
## `dev:summary`
|
|
|
|
- **Usage**: `dev:summary`
|
|
|
|
Summarise codebase shape
|
|
|
|
## `dev:update`
|
|
|
|
- **Usage**: `dev:update`
|
|
|
|
Update dependencies
|
|
|
|
## `dev:validate-docker-image`
|
|
|
|
- **Usage**: `dev:validate-docker-image`
|
|
|
|
Validate that the Dockerfile builder image exists and supports required architectures
|
|
|
|
## `dev:worktree-setup`
|
|
|
|
- **Usage**: `dev:worktree-setup`
|
|
|
|
Bootstrap a git worktree with local config, databases, and a unique port
|
|
|
|
## `prod:backup`
|
|
|
|
- **Usage**: `prod:backup`
|
|
|
|
Backup the production database to the local development env
|
|
|
|
## `prod:deploy`
|
|
|
|
- **Usage**: `prod:deploy`
|
|
|
|
Deploy on production and monitor deployment
|
|
|
|
## `prod:litestream-backup`
|
|
|
|
- **Usage**: `prod:litestream-backup`
|
|
|
|
Restore the production database locally from the Litestream S3 replica
|
|
|
|
## `prod:prune-backups`
|
|
|
|
- **Usage**: `prod:prune-backups`
|
|
|
|
Remove locally downloaded production database backups
|
|
|
|
## `prod:test`
|
|
|
|
- **Usage**: `prod:test`
|
|
|
|
Run HTTP tests against production
|
|
|
|
## `test`
|
|
|
|
- Depends: dev:partitioned-test 1, dev:partitioned-test 2
|
|
|
|
- **Usage**: `test`
|