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

Change environment to use VSCode development containers #2

Merged
merged 2 commits into from
Sep 11, 2021

Conversation

zeroZshadow
Copy link
Contributor

This PR moves the zig-wii development environment into a VSCode development container.
Opening the workspace in vscode will ask you to re-open the workspace inside the container.
From here on, everything works as if you're developing locally, without requiring docker compose to spin up the container for the link and conversion steps.

The container comes with Zig and ZLS pre installed. The versions for both can be changed through the provided environmental variables in the Dockerfile.

I've also updated the builder to output the .map .dol and .elf files into the build folder.

Container provides Zig and ZLS
Update build.zig to use linker directly inside container
Update build settings to put output files in build folder
@fengb fengb merged commit a16622b into fengb:master Sep 11, 2021
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.

None yet

2 participants