Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
lint:
prek run --all-files

test:
cargo test
Comment on lines +4 to +5

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sometimes when I look at the just file it feels like we are writing this for user rather than software developers.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, the test task is probably not needed for rust projects but it keeps it consistent. I find things like the coverage task are more useful. I have to search shell history every time without it.

Worth leaving test in or removing it?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think lets keep it for consistency


coverage:
cargo tarpaulin --target-dir target/coverage --skip-clean
xdg-open tarpaulin-report.html
Loading