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

Add experimental container mode in the CLI #285

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

dcermak
Copy link
Owner

@dcermak dcermak commented Oct 10, 2024

No description provided.

@dcermak dcermak force-pushed the container-mode-in-cli branch 6 times, most recently from 1ac298a to 3d802a4 Compare October 13, 2024 12:17
The general syntax for macro defines in macro files is:
%$macro_name    something

but you can also have a () after the macro name like in:
%py3_build()  \

which would not get matched by the original regex as it expected the macro name
to be followed by whitespace. We therefore need to extend it and also match open
braces
We were so far only assuming that SPEC level macros are from the preamble, but
these can be also %define or %global macros from the current spec. Hence we look
for them via the macro define find function as well, in case we find nothing in
the preamble
@dcermak dcermak force-pushed the container-mode-in-cli branch from 3d802a4 to ac330cd Compare November 4, 2024 12:41
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.

1 participant