Repository navigation
fix(mise): run build and test with the repo's real toolchain #77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,10 +32,10 @@ gnu-grep = "latest" | |
| task = "go-task" | ||
|
|
||
| [tasks.build] | ||
| run = "cargo build --release" | ||
| run = "just build" | ||
|
|
||
| [tasks.test] | ||
| run = "cargo test" | ||
| run = "just test" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Connect the test task to a real test suite. The lowercase
|
||
|
|
||
| [tasks.lint] | ||
| run = "bun install --frozen-lockfile && bunx --no-install --bun prettier --check ." | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Provision Just for standalone mise users.
The new tasks require
just, but the[tools]block does not install it. A user who installs the configured mise tools without a system installation of Just cannot run either task. The devcontainer installs Just separately, but standalone mise users do not receive it. Add Just to the configured tools or document it as a prerequisite.Also applies to: 38-38
Point the build task to a working build.
At the repository root, the lowercase
justfilerequires aFILEargument forbuild. The uppercaseJustfileonly echoes success. Thus, either choice fails to build the project, and the latter reports a false success. Add or select a recipe that performs the intended build.