Skip to content

chore(build): switch build structure to working on base modules, simplify imports#41

Merged
orhun merged 1 commit intoorhun:mainfrom
tranzystorekk:zig-modules
Mar 14, 2025
Merged

chore(build): switch build structure to working on base modules, simplify imports#41
orhun merged 1 commit intoorhun:mainfrom
tranzystorekk:zig-modules

Conversation

@tranzystorekk
Copy link
Copy Markdown
Collaborator

Zig 0.14 encourages cleaner build script structure by reusing modules: https://ziglang.org/download/0.14.0/release-notes.html#Creating-Artifacts-from-Existing-Modules

This, besides the obvious general improvement, allows us to import all internal modules like wav via the local-file @import("wav.zig") mechanism, which makes the whole project more naturally simply include the code it needs, where it needs it.

@tranzystorekk tranzystorekk requested a review from orhun as a code owner March 13, 2025 19:10
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.04%. Comparing base (5bc4794) to head (04ec39f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #41   +/-   ##
=======================================
  Coverage   66.04%   66.04%           
=======================================
  Files           4        4           
  Lines         162      162           
=======================================
  Hits          107      107           
  Misses         55       55           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Owner

@orhun orhun left a comment

Choose a reason for hiding this comment

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

Cool! Should I cut a new release for this or can we wait until a new feature lands / Zig version is updated?

@tranzystorekk
Copy link
Copy Markdown
Collaborator Author

No release needed :)

@orhun orhun merged commit d960783 into orhun:main Mar 14, 2025
7 checks passed
@tranzystorekk tranzystorekk deleted the zig-modules branch March 14, 2025 08:58
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.

3 participants