Getting started
Requirements
- GNU Make
- Git
- Network access to clone this library (SSH or HTTPS)
- Skill-specific tools as needed (
bump-my-version, Python toolchain, MkDocs, ShellCheck, …) — usemake doctorafter init to verify
Adopt the wrapper
- Copy
templates/Makefile(or an example fromexamples/) to your project root asMakefile. - Add
.makefiles/to the project's.gitignore. Commit the wrapper and.gitignore, not the cloned skills library.make initpulls onlyskills/via sparse checkout (docs/tests/examples stay out of the clone). - Enable optional skills:
Versioning is always available. Optional skills are python, mkdocs, and
bash.
- Choose clone transport (
sshis the default):
MAKEFILES_TRANSPORT ?= https
MAKEFILES_REPO_SSH ?= git@github.com:the-lupaxa-blueprints/makefile-skills.git
MAKEFILES_REPO_HTTP ?= https://github.com/the-lupaxa-blueprints/makefile-skills.git
- Initialise and inspect:
First commands
Pin the library version
MAKEFILES_REF defaults to head (tip of master). To pin a release tag:
Then run make update (or make init on a fresh clone).
Refresh skills
This fetches and checks out MAKEFILES_REF again inside .makefiles/.