1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dex_ynh.git synced 2024-09-03 18:26:22 +02:00

Update install

This commit is contained in:
Limezy 2022-03-23 18:07:08 +07:00
parent d9b3f4ea94
commit 9ca02fb142

View file

@ -119,9 +119,9 @@ pushd "$final_path"
ynh_use_go
PROJ=dex
ORG_PATH=github.com/dexidp
REPO_PATH=$(ORG_PATH)/$(PROJ)
REPO_PATH="$ORG_PATH/$PROJ"
VERSION ?= $(shell ./scripts/git-version)
LD_FLAGS="-w -X main.version=$(VERSION)"
LD_FLAGS="-w -X main.version=$VERSION"
mkdir bin
$ynh_go install -v -ldflags $(LD_FLAGS) $(REPO_PATH)/cmd/dex
popd