Last active
December 16, 2025 08:03
-
-
Save derektamsen/3c60877633d0431fc7e27f961f767de6 to your computer and use it in GitHub Desktop.
Basic tailscale policy format makefile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .PHONY: all | |
| all: fmt ## Default target | |
| .PHONY: fmt | |
| fmt: ## Format code | |
| @echo "🧹 Formatting code..." | |
| hujsonfmt -w policy.hujson | |
| .PHONY: help | |
| help: ## Show this help message | |
| @echo "🙋 Available targets:" | |
| @awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf " \033[32m%-15s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment