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

Streamline Inject Tasks for Neoforge in Userdev #71

Merged
merged 2 commits into from
Dec 12, 2023

Conversation

shartte
Copy link
Contributor

@shartte shartte commented Dec 12, 2023

This removes the individual download, unpack and inject tasks for Neoforge in Userdev and instead extends the Inject task to support multiple sources with individual filters, as well as sourcing files directly from a ZIP file. This allows us to pass the resolved artifact for Neoforge sources+resources directly to the Inject task and streamline+speed up the process.

Since injecting doesn't allow for existing files to be overwritten, adding this to the inject task (which runs before patch), should not affect patches.

Includes a prerequisite commit that may be reviewed separately: Add the ability to the runtime builder to customize individual tasks in addition to manipulating the task tree.

…taneously, each with their own filters.

Use that new task to merge the injections from NeoForm and NeoForge userdev into a single task.
@shartte shartte marked this pull request as ready for review December 12, 2023 11:20
@marchermans marchermans merged commit 7c32053 into neoforged:NG_7.0 Dec 12, 2023
3 checks passed
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