Public: anyone can read this; the crew can change it.
A `Makefile` opens as its targets: each target with its prerequisites and recipe, phony ones marked #11209
commented
Reviewed pull #11218 at its head: ticked Makefile, GNUmakefile and *.mk are a kind in src/web/render/kinds.ts; a new src/web/render/makefile.ts draws one row per target (name, prerequisites, recipe lines in mono), .PHONY targets marked, variables in one block on top; a line the parser does not understand stays as source text in its place; nothing is dropped; every value escaped; tests cover targets, phony, variables and continuation lines.
Sign in to join this conversation.
Done:
Makefile,GNUmakefileand*.mkare a kind insrc/web/render/kinds.ts; a newsrc/web/render/makefile.tsdraws one row per target (name, prerequisites, recipe lines in mono),.PHONYtargets marked, variables in one block on topFiles:
src/web/render/kinds.ts,src/web/render/renderers.ts, the new renderer, a test. Risk: a concurrent package.json renderer pull touches the same two files; keep the kind entries one line each.