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

Refactor: move ResourceLoading to swarm-util #2162

Merged
merged 3 commits into from
Sep 30, 2024
Merged

Conversation

byorgey
Copy link
Member

@byorgey byorgey commented Sep 30, 2024

Now that Failure is moved to swarm-util (#2155), that was the last remaining dependency of Swarm.Game.ResourceLoading which prevented it from moving as well. The ResourceLoading code is not specific to Swarm scenarios; this PR moves it to swarm-util to make it more generally applicable.

In fact, the ResourceLoading code is already being used to load .sw files when executing the Run command; in order to implement #495 we will need to do that loading in order to resolve import expressions, but that code will live in swarm-lang, which cannot import swarm-scenario.

@byorgey byorgey added the merge me Trigger the merge process of the Pull request. label Sep 30, 2024
@mergify mergify bot merged commit 4be0f73 into main Sep 30, 2024
12 checks passed
@mergify mergify bot deleted the refactor/resource-loading branch September 30, 2024 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me Trigger the merge process of the Pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants