From 02d15a1aa1b8f4115bcb10f35df1ce743a18ba26 Mon Sep 17 00:00:00 2001 From: armfazh Date: Sat, 29 Apr 2023 18:13:52 -0700 Subject: [PATCH] Updating readme. --- Makefile | 4 ++-- README.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5d53d65cb..f8f77a49d 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,6 @@ MK_FILE_PATH = $(lastword $(MAKEFILE_LIST)) PRJ_DIR = $(abspath $(dir $(MK_FILE_PATH))) GOPATH_BUILD = $(PRJ_DIR)/build COVER_DIR = $(GOPATH_BUILD)/coverage -TOOLS_DIR ?= $(GOPATH)/bin ETC_DIR = $(PRJ_DIR)/.etc OPTS ?= NOASM ?= @@ -50,7 +49,8 @@ generate: clean $(GO) generate -v ./... bootstrap: - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(TOOLS_DIR) v1.18.0 + go install mvdan.cc/gofumpt@latest + go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest clean: rm -rf $(GOPATH_BUILD) diff --git a/README.md b/README.md index f5db92e83..059c0426a 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,8 @@ To contribute, fork this repository and make your changes, and then make a Pull Request. A Pull Request requires approval of the admin team and a successful CI build. +**Formatting** Source files must pass the linter job invoked by running: `make lint`. + ## How to Cite To cite CIRCL, use one of the following formats and update the version and date you accessed this project.