8000 Issue #587 Add --and for doing extra compilation with the same arguments by nlipsyc · Pull Request #595 · evhub/coconut · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Issue #587 Add --and for doing extra compilation with the same arguments #595

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

Merged
merged 3 commits into from
Aug 22, 2021

Conversation

nlipsyc
Copy link
Contributor
@nlipsyc nlipsyc commented Aug 12, 2021

This add the option to include --and additional/src additional/dest to the CLI arguments. It works under the assumption that other flags that are passed should apply to all source/dest pairs.

In addition to the automated test, I did some manual testing. It confirmed that compiling multiples of the same file to different destinations, and multiples of different files to the same destination worked as expected. This was both with overlapping and non-overlapping names. This was tested with up to 2 --and pairs.

- Add `--and` kwarg to CLI
- Factor out _process_source_dest_pairs for cleaner itteration

TODO: Tests
- Debug changes to the command
@nlipsyc nlipsyc marked this pull request as draft August 12, 2021 01:04
@nlipsyc nlipsyc marked this pull request as ready for review August 12, 2021 03:32
@evhub evhub added the feature label Aug 22, 2021
@evhub evhub added this to the v1.6.0 milestone Aug 22, 2021
@evhub evhub added the resolved label Aug 22, 2021
@evhub
Copy link
Owner
evhub commented Aug 22, 2021

@nlipsyc This looks great—thanks for the PR!

@evhub evhub merged commit 9c6cb6b into evhub:develop Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0