Skip to content

Conversation

@hippietrail
Copy link
Collaborator

Issues

N/A

Description

Some justfile recipe names include hyphens between words, some just glom all words together.
Some places refer to a plugin while some refer to an extension.
Some recipe names use a full word and some use an abbreviation.

Occasionally a recipe name is not intuitive and it's not immediately obvious that there's a recipe that does what you're looking for. For instance I always confuse the POS-tagging and snapshot tests.
When testing dictionary curation PRs it might be quicker to test just these two than to run cargo test.
But we had a recipe named runsnapshots that called two internal tests: test_pos_tagger, with an intuitive name; and test_most_lints, with an unintuitive name since it's the one that tests the snapshots.

Since I wanted to address this last problem I decided to just add aliases to the other recipes. justfile didn't support alias when we first started using it but has done so for months now.

Please feel free to critique my choices!

How Has This Been Tested?

I manually tested some, but not all, of the recipes.

Checklist

  • I have performed a self-review of my own code
  • I have added tests to cover my changes

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