Change module path

This commit is contained in:
timoxa0 2024-06-23 09:44:19 +00:00
parent c997576dce
commit 2d218d535f

View file

@ -3,8 +3,8 @@ NAME = lon-tool
SRC ?= main.go SRC ?= main.go
BIN_DIR ?= ./bin BIN_DIR ?= ./bin
GIT_VERSION := $(shell git describe --abbrev=4 --dirty --always --tags) GIT_VERSION := $(shell git describe --abbrev=4 --dirty --always --tags)
GOFLAGS ?= -ldflags="-s -w -X lon-tool/cmd.version=$(GIT_VERSION)" GOFLAGS ?= -ldflags="-s -w -X git.timoxa0.su/timoxa0/lon-tool/cmd.version=$(GIT_VERSION)"
WINDOWS_GOFLAGS ?= -ldflags="-extldflags=-static -s -w -X lon-tool/cmd.version=$(GIT_VERSION)" WINDOWS_GOFLAGS ?= -ldflags="-extldflags=-static -s -w -X git.timoxa0.su/timoxa0/lon-tool/cmd.version=$(GIT_VERSION)"
# Windows settings # Windows settings
WINDOWS_BIN = $(BIN_DIR)/$(NAME)_win_amd64.exe WINDOWS_BIN = $(BIN_DIR)/$(NAME)_win_amd64.exe