Skip to content

Conversation

@malte9799
Copy link
Contributor

Finds all macros in # @public functions and adds a passthrough for them in the version_check function

Note

Right now it also includes macros from comments - Maybe this needs refactoring (Suggestions are welcome)

Example:
@function smithed:macros

#> smithed:macros
# @public
# $(foo)
say $(bar)

Generates:
@function smithed:calls/macros

#> smithed:calls/macros
$execute if score #major load.status [] run function smithed:macros {foo:$(foo),bar:$(bar)}

Finds all macros in @public functions and adds a passthrough for them in the version_check function
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