Makefiles and make

The project has separate commands for tests and quality checks. It also has commands for image builds, integration tests, and setup. A Makefile gives each command a stable, discoverable name.

Targets and dependencies

The example defines these targets:

  • test and quality_checks
  • build and integration_test
  • publish and setup

A target can depend on another target, so build runs quality checks and tests before building the Docker image.

A Makefile with targets and dependencies

Run make test or make quality_checks while developing, and use make build when you want the same prerequisites before creating the image.

Running a Makefile target

Keep target names and environment variables documented. A short command should still make it clear which external services, credentials, or Docker resources it needs.

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.