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/cleanups #5

Merged
merged 6 commits into from
Oct 19, 2023
Merged

chore/cleanups #5

merged 6 commits into from
Oct 19, 2023

Conversation

busticated
Copy link
Owner

@busticated busticated commented Oct 19, 2023

Description

Refactors Task runner to expose fs, git, and cargo helpers which themselves have access to task options such that they respect flags like --dry-run. Also fixes CI error related to tag events and tunes code formatting settings.

How to Test

  1. Clone and setup this branch locally (docs)
  2. Review available tasks: cargo xtask --help
  3. Simulate adding a new crate: cargo xtask crate:add --dry-run
  4. Simulate releasing a crate: cargo xtask crate:release --dry-run

Outcome

Task help should be clear, commands should execute and output the skipped operations (e.g. skipping: cargo new /path/to/my-crate --name my-crate --lib.

Related / Discussions

#4

Completeness

  • PR opened 🎉
  • Testing instructions have been provided
  • Development How-To's have been provided
  • Docs have been updated (cargo xtask doc)
  • Branch is rebased against target (typically main)

@busticated
Copy link
Owner Author

🤘 :shipit:

@busticated busticated merged commit 01bed6e into main Oct 19, 2023
6 checks passed
@busticated busticated deleted the chore/cleanups branch October 19, 2023 18:02
@busticated busticated mentioned this pull request Oct 28, 2023
5 tasks
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.

1 participant