Skip to content
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

chore(justfile): improve cargo bin installation #241

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

hawkw
Copy link
Contributor

@hawkw hawkw commented Aug 24, 2023

Depends on #240

This branch improves how the Justfile installs Cargo commands/other binaries which can be installed through Cargo. In addition, it adds optional support for installing Cargo binaries using cargo-binstall for faster installations, if a cargo-binstall binary is present.

hawkw added 4 commits August 23, 2023 16:41
This branch adds a Python script that appends the RFCs in the `rfcs` dir
to the mdBook.

I'm not 100% convinced this is the "best approach", since the script has
to be run before building the mdBook. Alternatively, we could just make
the RFCs dir a subdirectory of the mdBook, and require PRs that add new
RFCs to add them to the index as well. That requires more effort when
adding an RFC, and means they can no longer live in a top-level `rfcs/`
directory. But, on the other hand, it means you don't have to run a big
wad of random janky python before you can generate the book.

@jamesmunns WDYT?
Depends on #240

This branch improves how the Justfile installs Cargo commands/other
binaries which can be installed through Cargo. In addition, it adds
optional support for installing Cargo binaries using [`cargo-binstall`]
for faster installations, if a `cargo-binstall` binary is present.

[`cargo-binstall`]: https://github.com/cargo-bins/cargo-binstall
@hawkw hawkw force-pushed the eliza/rfc-mdbook branch from b77e544 to c881e19 Compare August 25, 2023 18:23
Base automatically changed from eliza/rfc-mdbook to main August 25, 2023 18:42
@hawkw hawkw added the kind: enhancement New feature or request label Sep 3, 2023
@hawkw hawkw self-assigned this Sep 3, 2023
@hawkw hawkw enabled auto-merge (squash) September 4, 2023 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants