Skip to content

Commit

Permalink
Merge branch '65-help-drupal-works-differently-than-other-help-catego…
Browse files Browse the repository at this point in the history
…ry-targets' into 'master'

Resolve "help-drupal works differently than other help-category targets"

Closes #65

See merge request consensus.enterprises/drumkit!46
  • Loading branch information
Seonaid Lee committed Jul 14, 2021
2 parents fbbbd7a + 4b63d80 commit 0c313fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/selfdoc.feature
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Feature: Selfdoc for Drumkit development
help-category
[category] Aggregate and print all short self-documentation messages tagged with this category in all included makefiles.
selfdoc-howto
Print a brief message explaining how to write self-documenting makefiles
Print instructions explaining how to write self-documenting makefiles
"""
And I run "make help-categories"
Then I should get:
Expand Down
3 changes: 3 additions & 0 deletions mk/projects/20_drupal.mk
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ init-project-drupal: init-project-drupal-user-vars init-project-drupal-deps drup
@echo " make install"
@groups|grep docker > /dev/null || echo "NOTE: it looks like you are not in the docker group. You probably need to log out and log back in again before proceeding."

drupal-docs: ##@drupal Get link to online documentation
@echo "For detailed documentation on using Lando Drupal projects with Drumkit, see https://drumk.it/usage/drupal/"

drupal-composer-codebase: composer composer.json .gitignore .env
# N.B. Using `composer.json` as a target here may not work in the long run,
# since there are lots of project types that might want to initialize a
Expand Down
2 changes: 1 addition & 1 deletion mk/selfdoc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ help-categories: ##@help List all available help categories.
help-%:
@make -s help-category category=$*

selfdoc-howto: ##@help Print a brief message explaining how to write self-documenting makefiles
selfdoc-howto: ##@help Print instructions explaining how to write self-documenting makefiles
@echo
@$(ECHO) "\t$(BOLD)$(GREY)WRITING SELF-DOCUMENTING MAKEFILES$(RESET)"
@echo
Expand Down

0 comments on commit 0c313fa

Please sign in to comment.