Add a top-level run command to the "play with prototype" in README #81

Merged
Vectornaut merged 2 commits from readme-toplevel into main 2025-04-18 04:34:31 +00:00
Owner

It's very convenient for me to just stay in the top-level directory of a project. This change shows how to do that for trunk. I haven't figured out how to do it with cargo test, however. If you happen to know, feel free to edit.

It's very convenient for me to just stay in the top-level directory of a project. This change shows how to do that for `trunk`. I haven't figured out how to do it with `cargo test`, however. If you happen to know, feel free to edit.
glen added 1 commit 2025-04-10 23:14:13 +00:00
Add a top-level run command to the "play with prototype"
All checks were successful
/ test (pull_request) Successful in 2m19s
7dad623947
It's very convenient for me to just stay in the top-level directory of a project. This change shows how to do that for `trunk`. I haven't figured out how to do it with `cargo test`, however. If you happen to know, feel free to edit.
Vectornaut added 1 commit 2025-04-17 22:14:49 +00:00
Make "Play with prototype" less location-specific
All checks were successful
/ test (pull_request) Successful in 2m20s
664b3d87bc
Member

This is useful information, and it works on my system. I've streamlined the instructions a bit (commit 664b3d8) using the fact that only one step depends on which folder you're in.

This is useful information, and it works on my system. I've streamlined the instructions a bit (commit 664b3d8) using the fact that only one step depends on which folder you're in.
Member

I haven't figured out how to do it with cargo test, however.

I think the right way to do this would be to use the -C flag, which is only available on the nightly branch right now. I think it's reasonable to wait for that option to stabilize rather than looking for a temporary workaround.

> I haven't figured out how to do it with cargo test, however. I think the right way to do this would be to use the [`-C` flag](https://doc.rust-lang.org/cargo/commands/cargo-test.html#common-options), which is only available on the nightly branch right now. I think it's reasonable to wait for that option to stabilize rather than looking for a temporary workaround.
Member

If you're happy with the revisions I made in commit 664b3d8, I'll go ahead and merge.

If you're happy with the revisions I made in commit 664b3d8, I'll go ahead and merge.
Member

We approved my revisions during today's meeting, so I'll merge!

We approved my revisions during today's meeting, so I'll merge!
Vectornaut merged commit 23ba5acad7 into main 2025-04-18 04:34:31 +00:00
Sign in to join this conversation.
No description provided.