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

cargo: stop cargo install from installing fake-editor & co. #2277

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

ilyagr
Copy link
Collaborator

@ilyagr ilyagr commented Sep 20, 2023

Among other things, this prevented jj from working with cargo binstall.

The trick is taken from
rust-lang/cargo#2911 (comment).

We could now also remove --bin jj from the installation commands in install-and-setup.md, but I'm not sure we should. That argument makes it clear that the binary is jj, not jj-cli.

Fixes #216.

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added tests to cover my changes

Copy link
Owner

@martinvonz martinvonz left a comment

Choose a reason for hiding this comment

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

Nice!

Among other things, this prevented `jj` from working with
`cargo binstall`.

The trick is taken from
rust-lang/cargo#2911 (comment).

We could now also remove `--bin jj` from the installation commands
in `install-and-setup.md`, but I'm not sure we should. That argument
makes it clear that the binary is `jj`, not `jj-cli`.

Fixes martinvonz#216.
@ilyagr
Copy link
Collaborator Author

ilyagr commented Sep 20, 2023

FYI, I renamed the feature to test-fakes.

I'll wait until I have a moment to glance at the github release action before merging this.

@ilyagr ilyagr merged commit d79e829 into martinvonz:main Sep 20, 2023
15 checks passed
@ilyagr ilyagr deleted the no-fakes branch September 20, 2023 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants