From d7b1d9b630afffd9e6b8735911c58b6050ae66ec Mon Sep 17 00:00:00 2001 From: 0x19 Date: Thu, 29 Jun 2023 22:17:57 +0200 Subject: [PATCH] Cleanup of makefile and .travis --- .travis.yml | 1 - Makefile | 9 --------- 2 files changed, 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index e11d8272..3b419235 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,5 +3,4 @@ go: - 1.19.x script: - - make lint - make test diff --git a/Makefile b/Makefile index 42f4c3b9..9115591e 100644 --- a/Makefile +++ b/Makefile @@ -6,15 +6,6 @@ UNAME_S_LOWERCASE := $(shell echo $(UNAME_S) | tr A-Z a-z) help: ## Display this help @awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m\033[0m\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST) -.PHONY: deps -deps: ## Install dependencies -ifeq ($(UNAME_S),Linux) - sudo apt-get update && sudo apt-get install -y golang golangci-lint -endif -ifeq ($(UNAME_S),Darwin) - brew install go golangci-lint -endif - .PHONY: lint lint: ## Lint the Go code using golangci-lint golangci-lint run --skip-dirs externals,examples