DEVP_GODEVIZ_VERSION = v0.0.3 DEVP_GODEVIZ_DIR = ${DEVP_TOOLS_ROOT}/godeviz/${DEVP_GODEVIZ_VERSION} DEVP_GODEVIZ_EXE = ${DEVP_GODEVIZ_DIR}/godeviz ${DEVP_GODEVIZ_EXE}: ifdef DEVP_NO_INSTALL ifneq ($(DEVP_VERSION),$(DEVP_CI_BUILDER_VERSION)) $(call error_message,"Platform version is [${DEVP_VERSION}] image version is [${DEVP_CI_BUILDER_VERSION}]. Same version is expected. Updating with [make devp/update] might help. DEVP_NO_INSTALL == 1. See: https://mws.pages.mws-team.ru/devp/platform-go-tools/pgt/user/pages/platform-update.html") @exit 1 endif $(call error_message,"[godeviz] is expected to be installed but it is not. Please contact /duty golang for support.") @exit 1 endif $(Q) mkdir -p ${DEVP_GODEVIZ_DIR} $(Q) CGO_ENABLED=1 GOBIN=${DEVP_GODEVIZ_DIR} go install git.mws-team.ru/mws/devp/godeviz/cmd/godeviz@${DEVP_GODEVIZ_VERSION} $(call green,"godeviz installed as $@") .PHONY: devp/install/godeviz devp/install/godeviz: ${DEVP_GODEVIZ_EXE} @# Install godeviz - v0.0.3