Migrate Makefile to portfolio conventions; bump to 0.0.4 #14
Loading…
Reference in a new issue
No description provided.
Delete branch "makefile-convention-migration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Bring Seria's Makefile in line with the portfolio Makefile conventions (
12.03 Makefile Conventions.mdin the vault). Folds in the staged 0.0.3 → 0.0.4 version bump.Hot conflict (substantive):
setsid bun run dev.ts+.dev.pid) — which duplicated what Tauri does viabeforeDevCommand.tauri.conf.jsonnow hasbeforeDevCommandset (object form withcwd: "../frontend"), so the recipe shrinks to a port pre-flight on:5173thenbunx tauri dev.downcorrespondingly drops.dev.pidhandling and just kills on:5173.Stylistic catch-up (Makefile reads like Lily/Packi/Poppy):
# ─── Seria Makefile ───header banner.# ─── Section ───dividers in place of# === SECTION ===.BACKEND/FRONTENDpath variables; literal occurrences replaced.helpmigrated from the verbose@echoblock to the canonical## comment+ grep form. BecauseSHELL := pwsh.exeon Windows breaks thegrep | sort | awkpipe,helpis OS-conditional with aSelect-Stringequivalent on the Windows branch.Versioning:
package.json(root +apps/desktop/),tauri.conf.json,Cargo.toml, andCargo.lock.Test plan
make helplists every public target with its docstring (alphabetical sort, color-aligned).make(bare) runshelpvia.DEFAULT_GOAL.make typecheckpasses.make devboots Tauri → Tauri spawns the frontend viabeforeDevCommand→ Cargo compiles → window comes up at:5173.make downkills anything on:5173and reports cleanly when nothing is running.SHELL := pwsh.exe) — not tested locally; recipe shape mirrors Lily/Packi.