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

Fix just executable argument positioning when setting custom flags #39

Merged
merged 3 commits into from
Sep 13, 2023

Conversation

johnhamelink
Copy link
Contributor

This commit changes the justl--parse and justl-exec-eshell functions so that arguments are ordered correctly when calling just: arguments which are destined for just (as in the executable) should be defined before the recipe, since the recipe can have its own arguments.

This commit changes the justl parsing and exec functions so that
arguments are ordered correctly when calling just: arguments which are
destined for just the executable should be defined before the recipe,
since the recipe can have its own arguments.
@johnhamelink
Copy link
Contributor Author

johnhamelink commented Aug 30, 2023

Umm, when I run ERT locally it passes - is there something wrong with CI?

Screenshot 2023-08-30 at 20 07 16

@psibi
Copy link
Owner

psibi commented Aug 31, 2023

Umm, when I run ERT locally it passes - is there something wrong with CI?

Don't think so, since it passes in master branch: https://github.com/psibi/justl.el/actions/runs/5921611832/job/16054384296

@johnhamelink
Copy link
Contributor Author

Ok, maybe my Emacs' state was incorrect, I Will have a look tomorrow evening if I get a chance!

If the user sets the --unstable flag in Transient, the args list
would have --unstable twice, which causes just to throw an error.

Instead, deduplicate the list.
@johnhamelink
Copy link
Contributor Author

johnhamelink commented Sep 12, 2023

@psibi fixed! I fixed it by accident while thinking about #43

@psibi psibi merged commit 1364da3 into psibi:master Sep 13, 2023
@psibi
Copy link
Owner

psibi commented Sep 13, 2023

Thank you!

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.

2 participants