Skip to content

Commit

Permalink
fix some Makefile commands
Browse files Browse the repository at this point in the history
  • Loading branch information
MalteHerrmann committed Aug 1, 2024
1 parent d30af35 commit eb039f4
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,9 @@

PACKAGES_NOSIMULATION=$(shell go list ./... | grep -v '/simulation')
VERSION ?= $(shell echo $(shell git describe --tags --always) | sed 's/^v//')
COMMIT := $(shell git log -1 --format='%H')
BUILDDIR ?= $(CURDIR)/build
HTTPS_GIT := https://github.com/evmos/os.git
DOCKER := $(shell which docker)
DOCKER_TAG := $(COMMIT_HASH)
# Deps for Proto and Swagger generation
DEPS_COSMOS_SDK_VERSION := $(shell cat go.sum | grep 'github.com/evmos/cosmos-sdk' | grep -v -e 'go.mod' | tail -n 1 | awk '{ print $$2; }')
DEPS_IBC_GO_VERSION := $(shell cat go.sum | grep 'github.com/cosmos/ibc-go' | grep -v -e 'go.mod' | tail -n 1 | awk '{ print $$2; }')
DEPS_COSMOS_PROTO := $(shell cat go.sum | grep 'github.com/cosmos/cosmos-proto' | grep -v -e 'go.mod' | tail -n 1 | awk '{ print $$2; }')
DEPS_COSMOS_GOGOPROTO := $(shell cat go.sum | grep 'github.com/cosmos/gogoproto' | grep -v -e 'go.mod' | tail -n 1 | awk '{ print $$2; }')
DEPS_COSMOS_ICS23 := go/$(shell cat go.sum | grep 'github.com/cosmos/ics23/go' | grep -v -e 'go.mod' | tail -n 1 | awk '{ print $$2; }')

export GO111MODULE = on

Expand Down Expand Up @@ -156,7 +148,7 @@ proto-check-breaking:
### Releasing ###
###############################################################################

PACKAGE_NAME:=github.com/evmos/evmos
PACKAGE_NAME:=github.com/evmos/os
GOLANG_CROSS_VERSION = v1.22
GOPATH ?= '$(HOME)/go'
release-dry-run:
Expand Down Expand Up @@ -223,10 +215,10 @@ check-licenses:
@python3 check_licenses.py .
@rm check_licenses.py

check-changelog:
changelog-check:
@echo "Checking changelog..."
@python3 scripts/changelog_checker/check_changelog.py ./CHANGELOG.md
@clu lint

fix-changelog:
changelog-fix:
@echo "Fixing changelog..."
@python3 scripts/changelog_checker/check_changelog.py ./CHANGELOG.md --fix
@clu fix

0 comments on commit eb039f4

Please sign in to comment.