{"repo":"EbodShojaei/bake","free":true,"listed":false,"github":"https://github.com/EbodShojaei/bake","clone":"git clone https://github.com/EbodShojaei/bake.git","description":"mbake is a Makefile formatter and linter. It only took 50 years!","language":"Python","stars":759,"topics":["fmt","formatter","formatting","make","makefile","pip","pypl","python","python3","vscode"],"license":"MIT","category":"dev-tools","readme_excerpt":"🍞 mbake A Makefile formatter and linter. It only took 50 years! Features - Smart formatting : Tabs for recipes, consistent spacing, line continuation cleanup - Intelligent .PHONY detection : Automatically identifies and manages phony targets - Syntax validation : Ensures Makefiles are valid before and after formatting - Configurable rules : Customize behavior via {XDG CONFIG HOME}/bake.toml - CI/CD ready : Check mode for automated formatting validation - VSCode extension : Full editor integration available Installation Quick Start Usage Basic Commands Key Options - --check : Check formatting without making changes (perfect for CI/CD) - --diff : Show what changes would be made - --backup : Create backup before formatting - --validate : Validate syntax after formatting - --timeout : Timeout to use for syntax checks - --config : Use custom configuration file Configuration Create a config file with mbake init . Key settings: Smart .PHONY Detection mbake intelligently detects phony targets by analyzing recipe commands: Enable auto-insertion in your config: Examples Before and After Disable Formatting Use special comments to disable formatting in specific regions: CI/CD Integration Exit codes: 0 (success), 1 (needs formatting), 2 (error) Contributing Contributions welcome! See CONTRIBUTING.md for details. License MIT License - see LICENSE for details.","default_branch":null,"files":null,"tree":[],"storefront":"/r/EbodShojaei","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/EbodShojaei/bake/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}