Skip to content

template: make pkg packs the tarball; pkg/<name>-<version>.tar.gz, no arch - #42

Merged
julian-goldstein merged 1 commit into
masterfrom
template-pkg-target
Oct 29, 2026
Merged

julian-goldstein merged 1 commit into
masterfrom
template-pkg-target

Conversation

@julian-goldstein

Copy link
Copy Markdown
Contributor

Summary

  • The tarball is no longer part of the default build: make stops at dist/, which is all yeet run needs.
  • New phony make pkg target packs dist/ into pkg/<name>-<version>.tar.gz on demand, printing its own done row and artifact line.
  • The arch suffix is dropped from the package name; pkg/ holds one package per version.
  • README and the sample output in build/ui.mk updated to match.

Test plan

  • scripts/new a project, make: builds dist/, no pkg/ created.
  • make pkg: produces pkg/myproj-0.1.0.tar.gz containing ./index.js and ./bin/probe.bpf.o.
  • make all pkg in one invocation works.

…no arch

The tarball is no longer part of the default build. `make` stops at dist/
(the BPF object + the bundle), which is all `yeet run` needs; `make pkg`
packs dist/ into pkg/<name>-<version>.tar.gz on demand, with its own
done row and artifact line. The arch suffix is dropped from the name:
pkg/ holds one package per version.
@julian-goldstein
julian-goldstein merged commit 913d4b7 into master Oct 29, 2026
1 check 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.

1 participant