Skip to content

Commit

Permalink
ztp: Remove GO111MODULE
Browse files Browse the repository at this point in the history
  • Loading branch information
sebrandon1 committed Feb 8, 2024
1 parent dc64c97 commit b80b4a6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ TOOLS_DIR="$(CACHE_DIR)/tools"

$(shell mkdir -p $(TOOLS_DIR))

# Export GO111MODULE=on to enable project to be built from within GOPATH/src
export GO111MODULE=on

deps-update:
go mod tidy && \
go mod vendor
Expand Down
2 changes: 1 addition & 1 deletion ztp/tools/policy-object-template-diff/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ZTP_PATH?=""

build:
mkdir -p out/bin
GO111MODULE=on $(GOCMD) build -mod vendor -o out/bin/$(BINARY_NAME) .
$(GOCMD) build -mod vendor -o out/bin/$(BINARY_NAME) .

clean:
rm -fr ./bin
Expand Down

0 comments on commit b80b4a6

Please sign in to comment.