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

Zig build improvements #501

Merged
merged 3 commits into from
Oct 12, 2024
Merged

Zig build improvements #501

merged 3 commits into from
Oct 12, 2024

Conversation

mochalins
Copy link
Contributor

Clean up and improvements to current Zig build process. Notably:

  1. Specify paths in build.zig.zon to limit files stored in cache when webui is fetched as a dependency
  2. Set verbose option to be an enum of levels, so that more specific build information can be emitted
  3. Fix bug where prior verbose option printed Done. immediately before build process completed
  4. General cleanup of linker flags and file paths to adhere to Zig best practices

`build.zig.zon`'s paths are meant to specify what is needed when `webui`
is fetched as a dependency from another Zig build system. When being
used as a dependency, files such as tests/examples need not be included.
build.zig Show resolved Hide resolved
@jinzhongjia jinzhongjia merged commit 2702d04 into webui-dev:main Oct 12, 2024
26 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