Skip to content

feat!: ez init's layout, main.bend at the root and modules under src/ - #43

Merged
noah-emp merged 1 commit into
mainfrom
feat/src-layout
Sep 30, 2026
Merged

noah-emp merged 1 commit into
mainfrom
feat/src-layout

Conversation

@noah-emp

Copy link
Copy Markdown
Collaborator

The entry was ezaudio/main.bend; bend's walk adds a LICENSE only from a directory holding a walked file, so the root MIT LICENSE never reached the hub and ezaudio was published as MIT-0.

  • main.bend at the package root beside LICENSE (first line unchanged: # ezaudio: audio for Bend 2, reading and writing WAV (RIFF PCM) and MP3 (MPEG-1 Layer III).)
  • Every walked module under src/; LAWS.bend / PROOF.bend at the root, outside the walk.
  • ez.toml entry = main.bend; bench, flake, README paths updated (hub hash unchanged).

Walk (sorted): LICENSE, main.bend, src/mp3.bend, src/mp3_dec.bend, src/mp3_enc.bend, src/mp3_syn.bend, src/mp3_tab.bend, src/wav.bend.

On bend 2.0.34: PROOF.bend and main.bend print ALL PROOFS CHECK; nix flake check passes (proofs, lint 0 errors, wave-compare 34/34).

BREAKING: importers of any module other than main.bend must add src/ to the path. The package now carries its MIT LICENSE.

🤖 Generated with Claude Code

The entry was ezaudio/main.bend, and bend's walk adds a LICENSE only from
a directory that holds a walked file, so the repo-root MIT LICENSE never
reached the hub and ezaudio was published as MIT-0. main.bend now sits at
the package root beside LICENSE, keeping its one-line description, and
every module the entry walks is under src/. LAWS.bend and PROOF.bend sit
at the root, outside the walk. ez.toml's entry is main.bend; the bench,
the flake and the README follow the new paths.

The walk: LICENSE, main.bend, src/{mp3,mp3_dec,mp3_enc,mp3_syn,mp3_tab,
wav}.bend.

BREAKING CHANGE: ezaudio's internal modules moved from ezaudio/ to src/,
and the entry from ezaudio/main.bend to main.bend. Importers of main.bend
by the package's hub name are unaffected; importers of any other module
update the path, e.g. <hash>/wav.bend becomes <hash>/src/wav.bend. The
package now carries its MIT LICENSE (it was published as MIT-0).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@noah-emp
noah-emp enabled auto-merge (squash) September 30, 2026 00:11
@noah-emp
noah-emp merged commit 99ff44a into main Sep 30, 2026
1 check passed
@noah-emp
noah-emp deleted the feat/src-layout branch September 30, 2026 00:13
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