From 84d6d1162935156b14fe3382f4645cc71c92cf83 Mon Sep 17 00:00:00 2001 From: ccamel Date: Tue, 28 Jun 2022 18:37:59 +0200 Subject: [PATCH] build(make): add clean target --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index f4e0582e..fdca4f81 100644 --- a/Makefile +++ b/Makefile @@ -98,6 +98,11 @@ test-go: build ## Pass the test for the go source code @echo "${COLOR_CYAN} ๐Ÿงช Passing go tests${COLOR_RESET}" @go test -v -covermode=count -coverprofile ./target/coverage.out ./... +## Clean: +clean: ## Remove all the files from the target folder + @echo "${COLOR_CYAN} ๐Ÿ—‘ Cleaning folder $(TARGET_FOLDER)${COLOR_RESET}" + @rm -rf $(TARGET_FOLDER)/ + ## Help: help: ## Show this help. @echo ''