Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

add workspace and all-targets to recipes #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

koivunej
Copy link

rationale: if someone just copies and pastes the recipes over, the --workspace and --all-targets should do no harm but also will not cause surprises when user adds an subcrate. The user might not want to have all of their test code ran through clippy, so they might choose to just use --examples --bins --benches for example. building and testing the workspace doesn't seem to cause issues in crates without a workspace.

this brings the configuration to more in line with cargo fmt --all ..., which does work on all of the workspace.

I haven't used the auditor one so can't comment if it should have some --workspace switch as well though it's configuration doesn't seem to hint at it.

rationale: if someone just copies and pastes the recipes over, the
--workspace and --all-targets should do no harm. The user might not want
to have all of their test code ran through clippy, so they might choose
to just use --examples --bins --benches for example.
@vmx
Copy link

vmx commented Sep 13, 2020

I was about to propose the a similar change. Are there any reasons for not merging it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants