From 748f9ccb21cca4e20635a720b3d2b2eba0403ea0 Mon Sep 17 00:00:00 2001 From: Arash Hatami Date: Mon, 17 Apr 2023 15:06:05 +0330 Subject: [PATCH] add install target --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index ed77b7c..a5b4f97 100644 --- a/Makefile +++ b/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 rm -f *.conf @@ -5,7 +11,4 @@ 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 \ No newline at end of file + @grep -E '^[a-zA-Z_-]+:.*?## .*$$' Makefile | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' \ No newline at end of file