.PHONY: help build clean test EXTENSION_NAME := extension.zip EXTENSION_XPI := extension.xpi FILES := manifest.json content.js styles.css popup.html popup.js icons help: ## Show this help message @echo "Usage: make [target]" @echo "" @echo "Targets:" @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-15s\033[0m %s\n", $$1, $$2}' build: ## Build the extension @echo "Building extension..." @bunx --bun web-ext build --overwrite-dest clean: ## Remove build artifacts @echo "Cleaning up..." @rm -f $(EXTENSION_NAME) $(EXTENSION_XPI) lint: ## Lint the extension @echo "Linting..." @bunx --bun web-ext lint