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

Transpile files added after start of transpile cycle #578

Merged
merged 2 commits into from
Apr 30, 2022

Conversation

TwitchBronBron
Copy link
Member

@TwitchBronBron TwitchBronBron commented Apr 29, 2022

Updates Program.transpile() to loop through any newly added files that weren't there at the the start of the transpile cycle.

For example:
plugin wants to inject some code into the init() function of a component. However, certain components don't have an init function and don't even have any scripts. So, during the transpile cycle, the plugin will auto-create new files for each component that is missing the init function. Then, afterwords the plugin will delete that file again.

@TwitchBronBron TwitchBronBron merged commit 3bf7bd0 into master Apr 30, 2022
@TwitchBronBron TwitchBronBron deleted the transpile-plugin-added-files branch April 30, 2022 12:32
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