Makefile Fragments
Reusable fragments in makefiles/ provide a consistent target interface across stacks.
Available fragments
makefiles/vue.mkmakefiles/nuxt.mkmakefiles/fastapi.mk
Standard targets
Each fragment maps these common targets:
validatedevbuildlintcleanupgrade
Vue example
makefile
JS_PKG_MANAGER := pnpm
VUE_DIR := .
DOCKER := false
include ../tools/makefiles/vue.mkbash
make validate
make dev
make build
make lintNuxt example
makefile
JS_PKG_MANAGER := npm
NUXT_DIR := .
include ../tools/makefiles/nuxt.mkFastAPI example
makefile
PY_PKG_MANAGER := uv
FASTAPI_DIR := .
DOCKER := false
include ../tools/makefiles/fastapi.mkNotes
- Fragments assume package-manager commands exist in your PATH.
- Some
lintandformatcommands are optional and may no-op if missing in the project. DOCKER=trueroutes selected operations through Docker Compose where supported.