-
-
Notifications
You must be signed in to change notification settings - Fork 11
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 support for Just task runner #175
Conversation
@hyperupcall I hope you will push some fixes on this branch. I send you and invite to allow you to do that. |
@ssbarnea Will do! I'll get to it later today |
I updated the code to be more aligned with the changes from #142 and #120. Were those the changes you were looking for in particular? I can take another look at updating the tests to improve codecov, but it will be a bit more difficult / take more time for me as there doesn't seem to be any existing tests for things in |
actions = [] | ||
if not self.justfile: | ||
msg = "Justfile not found" | ||
raise RuntimeError(msg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ssbarnea, doesn't the CLI code have a better way to handle errors than raising a generic Exception?
# Current implementation assumes that descriptions are added | ||
# using double ## after the target name. | ||
# Inspired by https://github.com/containers/podman/blob/master/Makefile#L127 | ||
match = re.match(r"^([a-zA-Z_-]+):.*?## (.*)$$", line) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this regex be made a top level constant and re.compile()
ed?
No description provided.