Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

build: buildApp as building blocks an app composes (addApp, addWeb, addPackage)

Aperta
#527 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
wasm, zig
Ambito
build-system

Direzione di ricerca

Start by reading fizzy.buildApp and the build steps and modules it edits, including build/web.zig and build/package.zig; compare the proposed building blocks with velopack-zig 0.1.0 and sentry-zig. First agree on a plan for addApp, addWeb, addPackage and dvuiModule. Done means the app can compose those building blocks while example-app continues to work.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Feature request from Graphl. fizzy.buildApp builds everything on fizzy's builder and returns nothing, so Graphl reaches into its steps by name and edits fizzy's modules and argv. Graphl patches these today:

  • rehome copies only a plugin's root module. Its submodules keep the other executable's dvui and target, and C sources, include dirs and link objects are lost. A web build of a plugin that imports dvui libraries needs the whole import graph re-homed.
  • The web build:
    • the wasm export list is fixed (build/web.zig)
    • the page is fizzy's web/index.html
    • the web and install steps live on fizzy's builder, not the app's
  • A plugin can't reach the executable's platform module (title-bar hints, window icon). See the menu issue.
  • There's no dvui-for-another-backend helper on the SDK package, for a plugin's tests and hosts.

Graphl suggests building blocks in the style of velopack-zig 0.1.0 and sentry-zig: addApp, addWeb, addPackage and dvuiModule, each returning artifacts and LazyPaths, with buildApp as a thin wrapper so example-app stays as it is. Moving build/package.zig onto velopack-zig 0.1.0's addVelopackStep would also pass the name and icon through.

This needs a plan before code. The packaging bugs are filed separately.

Lingua principale
Zig
Stelle
1.5k
Fork
40
Merge medio
4h 39m
PR unite (30g)
428

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fizzyedit/fizzy

Tutte le issue di fizzyedit/fizzy

Issue simili

Altre issue su Build System

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.