Skip to content

Commit 8bb83cc

Browse files
committed
add shorthands for common commands
1 parent 1e687a2 commit 8bb83cc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ $ devenv up
3333
Either run `$ devenv shell` or install [direnv](https://direnv.net/) for
3434
auto-loading of dev environment into your shell.
3535

36-
- Run unit tests: `elm-test-rs --compiler $(which lamdera)`
37-
- Run linters: `pre-commit run --all-files`
38-
- Run all of the above: `devenv test`
36+
- Run unit tests: `tests`
37+
- Run linters: `lint`
38+
- Run all checks: `devenv test`
3939
- Verify deployment: `lamdera check`
4040
- CI: https://github.com/zupo/DELPT/actions/workflows/ci.yml
4141
- Recommended VSCode extensions:

devenv.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,6 @@ in
6767
}
6868
else {};
6969

70+
scripts.lint.exec = "pre-commit run --all-files";
71+
scripts.tests.exec = "elm-test-rs --compiler $(which lamdera)";
7072
}

0 commit comments

Comments
 (0)