mirror of
https://github.com/hatamiarash7/WireGuard-Config-Generator.git
synced 2025-06-23 19:21:21 +02:00
add install target
This commit is contained in:
parent
153753f25f
commit
748f9ccb21
11
Makefile
11
Makefile
@ -1,3 +1,9 @@
|
|||||||
|
.PHONY: clean run help
|
||||||
|
.DEFAULT_GOAL := help
|
||||||
|
|
||||||
|
install: ## Install requirements
|
||||||
|
python3 -m pip install -r requirements.txt
|
||||||
|
|
||||||
clean: ## Clean config files
|
clean: ## Clean config files
|
||||||
rm -f *.conf
|
rm -f *.conf
|
||||||
|
|
||||||
@ -5,7 +11,4 @@ run: clean ## Run the script
|
|||||||
python3 main.py
|
python3 main.py
|
||||||
|
|
||||||
help: ## Show this help
|
help: ## Show this help
|
||||||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' Makefile | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
|
@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…
x
Reference in New Issue
Block a user