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

Sed regex mismatch as a Make rule #392

Open
Sigmanificient opened this issue Dec 12, 2024 · 1 comment
Open

Sed regex mismatch as a Make rule #392

Sigmanificient opened this issue Dec 12, 2024 · 1 comment
Labels

Comments

@Sigmanificient
Copy link
Contributor

Sigmanificient commented Dec 12, 2024

image

.PHONY: help
help: #? help: show this help message
	@ grep -P "#[?] " $(MAKEFILE_LIST)         \
        | sed -E 's/.*#\? ([^:]+): (.*)/\1 "\2"/'  \
        | xargs printf "  $(blue)%-12s$(reset): $(cyan)%s$(reset)\n"
@kyu08
Copy link
Owner

kyu08 commented Dec 12, 2024

@Sigmanificient
Thanks for the report and taking time!

Now, fzf-make parses Makefile by regex. But if using treesitter, issue like this will not cause. I will do it when I have free time.

@kyu08 kyu08 added bug 🐛 Something isn't working runner-make 🏃‍♂️ labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants