mirror of
https://github.com/hatamiarash7/WireGuard-Config-Generator.git
synced 2025-01-21 04:48:35 +01:00
14 lines
369 B
Makefile
14 lines
369 B
Makefile
.PHONY: clean run help
|
|
.DEFAULT_GOAL := help
|
|
|
|
install: ## Install requirements
|
|
python3 -m pip install -r requirements.txt
|
|
|
|
clean: ## Clean config files
|
|
rm -f *.conf
|
|
|
|
run: clean ## Run the script
|
|
python3 main.py
|
|
|
|
help: ## Show this help
|
|
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' Makefile | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
|