Skip to content

Examples

Ready-made wrappers live in examples/. Each file is a copy of templates/Makefile with only the SKILLS line changed.

File SKILLS Use when
Makefile.versioning-only (empty) Version bumps only
Makefile.python python Python package / app
Makefile.python-docs python mkdocs Python project with MkDocs
Makefile.bash-project bash Shell-script repositories

Versioning only

SKILLS ?=
cp examples/Makefile.versioning-only ./Makefile
# add .makefiles/ to .gitignore
make init
make doctor
make bump-dev

Python

SKILLS ?= python
cp examples/Makefile.python ./Makefile
make init
make python-install-dev
make python-check

Python + MkDocs

SKILLS ?= python mkdocs
cp examples/Makefile.python-docs ./Makefile
make init
make python-check
make mkdocs-serve MKDOCS_PORT=8000

Bash

SKILLS ?= bash
cp examples/Makefile.bash-project ./Makefile
make init
make bash-list-scripts
make bash-check

Ignore the clone

Consumer projects should ignore .makefiles/ (see examples/.gitignore). Only the wrapper Makefile is committed.