Skip to content

Commit

Permalink
build: let devInstallLocal use env
Browse files Browse the repository at this point in the history
  • Loading branch information
sinlov committed Jul 17, 2023
1 parent c050184 commit 0cc5172
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ ifeq ($(OS),Windows_NT)
@cp $(subst /,\,${ENV_ROOT_BUILD_BIN_PATH}).exe $(subst /,\,${ENV_GO_PATH}/bin)
else
$(info -> notes: install ${GOPATH}/bin/${ENV_ROOT_BUILD_BIN_NAME})
@cp ${ENV_ROOT_BUILD_BIN_PATH} $(shell go env GOPATH)/bin
@cp ${ENV_ROOT_BUILD_BIN_PATH} ${ENV_GO_PATH}/bin
endif

run: cleanBuild buildMain
Expand Down Expand Up @@ -234,7 +234,7 @@ endif
ifeq ($(OS),Windows_NT)
@echo "~> make devInstallLocal - install at $(subst /,\,${ENV_GO_PATH}/bin)"
else
@echo "~> make devInstallLocal - install at $(shell go env GOPATH)/bin"
@echo "~> make devInstallLocal - install at ${ENV_GO_PATH}/bin"
endif
@echo "~> make run - run as ordinary mode"

Expand Down

0 comments on commit 0cc5172

Please sign in to comment.