Co-authored-by: Robert Zaremba <robert@zaremba.ch> Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
parent
4ed7118f79
commit
e1c7722765
@ -13,8 +13,6 @@ HTTPS_GIT := https://github.com/cosmos/cosmos-sdk.git
|
||||
DOCKER := $(shell which docker)
|
||||
PROJECT_NAME = $(shell git remote get-url origin | xargs basename -s .git)
|
||||
|
||||
rocksdb_version=v9.6.1
|
||||
|
||||
ifeq ($(findstring .,$(VERSION)),)
|
||||
VERSION := 0.0.0
|
||||
endif
|
||||
|
||||
@ -2,13 +2,10 @@
|
||||
|
||||
set -e
|
||||
|
||||
REPO_ROOT="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )/.." &> /dev/null && pwd )"
|
||||
REPO_ROOT="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." &>/dev/null && pwd)"
|
||||
export REPO_ROOT
|
||||
|
||||
LINT_TAGS="e2e,ledger,test_ledger_mock"
|
||||
if [[ ! -z "${ROCKSDB:-}" ]]; then
|
||||
LINT_TAGS+=",rocksdb"
|
||||
fi
|
||||
export LINT_TAGS
|
||||
|
||||
lint_module() {
|
||||
@ -58,4 +55,4 @@ else
|
||||
echo "linting github.com/cosmos/cosmos-sdk [$(date -Iseconds -u)]"
|
||||
golangci-lint run ./... -c "${REPO_ROOT}/.golangci.yml" "$@" --build-tags=${LINT_TAGS}
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user