-
Notifications
You must be signed in to change notification settings - Fork 696
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
Add help target to the makefile #10608
base: master
Are you sure you want to change the base?
Conversation
5bff8cc
to
c44528c
Compare
Label merge+no rebase is necessary when the pull request is from an organisation. |
c44528c
to
ee60a7b
Compare
- Add comments for users-guide* targets - Comment tags target - Add comment for checks - Comment doctesting and ghcid - Add help-banner target - Add comments to all, lib and exe targets - Add full stops to the help comments - Manual fix-whitespace
ee60a7b
to
cf22b10
Compare
The help after #10603 was merged to master. Tip Should we switch from prefix/infix to suffix for @geekosaur, you chose the prefix name for $ make help
all Build the Cabal libraries and cabal-install executables.
checks Run all local checks; whitespace, typos, style, and lint.
doctest-install Install doctest tool needed for running doctests.
doctest Run doctests.
exe Builds the cabal-install executables.
- fix-whitespace Run fix-whitespace in fix mode.
ghcid-cli Run ghcid for the cabal-install executable.
ghcid-lib Run ghcid for the Cabal library.
help-banner Show the help banner.
help Show the commented targets.
init Set up git hooks and ignored revisions.
lib Builds the Cabal libraries.
lint-json Run HLint in JSON mode.
lint Run HLint.
- markdown-fix-typos Fix typos in markdown files
markdown-typos Find typos in markdown files
+ markdown-typos-fix Fix typos in markdown files
style-commit Run the code styler on the previous commit.
style-modified Run the code styler on modified files.
style Run the code styler.
tags Generate editor tags, vim ctags and emacs etags.
typos-install Install typos-cli for typos target using cargo
users-guide Build the users guide.
- users-guide-fix-typos Fix typos in users guide
users-guide-requirements Install the requirements for building the users guide.
users-guide-typos Find typos in users guide
+ users-guide-typos-fix Fix typos in users guide
whitespace Run fix-whitespace in check mode.
+ whitespace-fix Run fix-whitespace in fix mode. |
There's also DevX vs. what makes the help text look better. |
One thing I hadn't noted earlier is the number of groups with a common prefix that we have already:
We have could have common suffixes too; |
Fix #10596. Add help for some of the makefile targets.
Template B: This PR does not modify behaviour or interface
E.g. the PR only touches documentation or tests, does refactorings, etc.
Include the following checklist in your PR: