chore: clean-up main (#22787)
This commit is contained in:
@@ -48,10 +48,6 @@ ifeq (secp,$(findstring secp,$(COSMOS_BUILD_OPTIONS)))
|
||||
build_tags += libsecp256k1_sdk
|
||||
endif
|
||||
|
||||
ifeq (legacy,$(findstring legacy,$(COSMOS_BUILD_OPTIONS)))
|
||||
build_tags += app_v1
|
||||
endif
|
||||
|
||||
ifeq (v2,$(findstring v2,$(COSMOS_BUILD_OPTIONS)))
|
||||
SIMAPP = simapp/v2
|
||||
APPNAME = simdv2
|
||||
|
||||
@@ -21,11 +21,6 @@ lint_module() {
|
||||
fi
|
||||
echo "linting $(grep "^module" go.mod) [$(date -Iseconds -u)]"
|
||||
golangci-lint run ./... -c "${REPO_ROOT}/.golangci.yml" "$@" --build-tags=${LINT_TAGS}
|
||||
|
||||
# always lint simapp with app_v1 build tag, otherwise it never gets linted
|
||||
if [[ "$(grep "^module" go.mod)" == "module cosmossdk.io/simapp" ]]; then
|
||||
golangci-lint run ./... -c "${REPO_ROOT}/.golangci.yml" "$@" --build-tags=app_v1
|
||||
fi
|
||||
}
|
||||
export -f lint_module
|
||||
|
||||
|
||||
Reference in New Issue
Block a user