mirror of
https://github.com/hatamiarash7/WireGuard-Config-Generator.git
synced 2025-02-08 05:29:37 +01:00
Update Makefile
This commit is contained in:
parent
0c7547a979
commit
a1a66fd4c8
14
Makefile
14
Makefile
@ -1,5 +1,11 @@
|
||||
.PHONY: run
|
||||
|
||||
run:
|
||||
clean: ## Clean config files
|
||||
rm -f *.conf
|
||||
python3 main.py
|
||||
|
||||
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}'
|
||||
|
||||
.PHONY: clean run help
|
||||
.DEFAULT_GOAL := help
|
Loading…
Reference in New Issue
Block a user