build: buildApp as building blocks an app composes (addApp, addWeb, addPackage)
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
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:
rehomecopies 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
weband install steps live on fizzy's builder, not the app's
- the wasm export list is fixed (
- 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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di fizzyedit/fizzy
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
fizzyedit/fizzy#306 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
sdk
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
fizzyedit/fizzy#530 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
fizzyedit/fizzy#529 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
fizzyedit/fizzy#528 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
fizzyedit/fizzy#523 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di fizzyedit/fizzy
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
opennextjs/opennextjs-cloudflare#1461 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
EmulatorJS/EmulatorJS#1295 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
PhyberApex/slds-json-schema-renderer#371 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
jhugman/uniffi-bindgen-react-native#502 ·
I maintainer di solito rispondono entro 1 giorno
-
CI: two jobs fail on the new ubuntu-latest (Ubuntu 26.04) runner imageForse già presa @bjarthur l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno