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:
parent
479115d4e1
commit
22872c8460
1 changed files with 8 additions and 7 deletions
|
@ -117,13 +117,14 @@ ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
# Build the sources
|
# Build the sources
|
||||||
ynh_use_go
|
ynh_use_go
|
||||||
PROJ=dex
|
#PROJ=dex
|
||||||
ORG_PATH=github.com/dexidp
|
#ORG_PATH=github.com/dexidp
|
||||||
REPO_PATH="$ORG_PATH/$PROJ"
|
#REPO_PATH="$ORG_PATH/$PROJ"
|
||||||
VERSION="2.31.1"
|
#VERSION="2.31.1"
|
||||||
LD_FLAGS="-w -X main.version=$VERSION"
|
#LD_FLAGS="-w -X main.version=$VERSION"
|
||||||
mkdir bin
|
#mkdir bin
|
||||||
$ynh_go_load_path $ynh_go install -v -ldflags "$LD_FLAGS" "$REPO_PATH/cmd/dex"
|
export GOPATH=$final_path
|
||||||
|
make build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
ynh_remove_go
|
ynh_remove_go
|
||||||
|
|
Loading…
Add table
Reference in a new issue