Skip to content

Commit

Permalink
chore: define node module once
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <[email protected]>
  • Loading branch information
troian committed Jun 15, 2023
1 parent 132eba1 commit 59ea849
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions make/init.mk
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ GO_TEST := $(GO) test -mod=$(GO_MOD)
GO_VET := $(GO) vet -mod=$(GO_MOD)

GO_MOD_NAME := $(shell go list -m 2>/dev/null)

NODE_MODULE := github.com/akash-network/node
REPLACED_MODULES := $(shell go list -mod=readonly -m -f '{{ .Replace }}' all 2>/dev/null | grep -v -x -F "<nil>" | grep "^/")
AKASH_SRC_IS_LOCAL := $(shell $(ROOT_DIR)/script/is_local_gomod.sh "$(NODE_MODULE)")
AKASH_LOCAL_PATH := $(shell $(GO) list -mod=readonly -m -f '{{ .Replace }}' "$(NODE_MODULE)")
Expand Down

0 comments on commit 59ea849

Please sign in to comment.