Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Conversation

@seg4lt
Copy link
Contributor

@seg4lt seg4lt commented Nov 3, 2024

  • Added ability to run the zig project and individual zig files
  • You can debug and run your tests
  • Added a command to run and debug current project or file from command palette.

@seg4lt
Copy link
Contributor Author

seg4lt commented Nov 3, 2024

I tried to add a grouping, but it gets weird when you try to run grouped test, so removed a commit.

Copy link
Member

@Vexu Vexu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to work quite nicely. It'd be nice if you could control whether the main should be run with build.zig or not since those two may not be connected.

Sorry for the delayed review.

@seg4lt
Copy link
Contributor Author

seg4lt commented Nov 20, 2024

I think I agree with you on running main - but I couldn't find elegant approach to solve the problem. My thought with this approach was this hopefully solves majority of use-cases.

@Vexu Vexu merged commit 6e5e984 into ziglang:master Nov 20, 2024
1 check passed
@Vexu
Copy link
Member

Vexu commented Nov 20, 2024

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants