require direnv for project tools
This commit is contained in:
parent
ce1b920fb6
commit
116d1582f3
3 changed files with 74 additions and 32 deletions
|
|
@ -92,7 +92,8 @@ pattern.
|
|||
- Rebuild the development database with:
|
||||
|
||||
```sh
|
||||
php artisan migrate:fresh --seed
|
||||
direnv exec "$(git rev-parse --show-toplevel)" \
|
||||
php artisan migrate:fresh --seed
|
||||
```
|
||||
|
||||
- Once a production database exists, replace this policy with additive,
|
||||
|
|
@ -101,7 +102,12 @@ pattern.
|
|||
## Before completing backend work
|
||||
|
||||
- Run the focused test during development.
|
||||
- Run `php artisan test` before completion.
|
||||
- Run the full test suite before completion:
|
||||
|
||||
```sh
|
||||
direnv exec "$(git rev-parse --show-toplevel)" php artisan test
|
||||
```
|
||||
|
||||
- Run the Composer static-analysis scripts.
|
||||
- Fix failures caused by the change. Report unrelated baseline failures
|
||||
precisely rather than hiding them or expanding scope without authorization.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue