Skip to content

Instantly share code, notes, and snippets.

@Ruslan-Skira
Created January 16, 2026 13:05
Show Gist options
  • Select an option

  • Save Ruslan-Skira/d2ecd9b75217d767174834fc64354178 to your computer and use it in GitHub Desktop.

Select an option

Save Ruslan-Skira/d2ecd9b75217d767174834fc64354178 to your computer and use it in GitHub Desktop.
Makefile template
.PHONY: run-app
.DEFAULT_GOAL := help
# Configuration
POETRY := poetry
BLUE := \033[0;34m
GREEN := \033[0;32m
CYAN := \033[0;36m
NC := \033[0m
help: ## Show this help message
@echo "Available targets:"
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " $(CYAN)%-20s$(NC) %s\n", $$1, $$2}'
# Development commands
run-app: ## Run app locally
@echo "$(BLUE)Running the app$(NC)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment