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"
|
||||
# Build the sources
|
||||
ynh_use_go
|
||||
PROJ=dex
|
||||
ORG_PATH=github.com/dexidp
|
||||
REPO_PATH="$ORG_PATH/$PROJ"
|
||||
VERSION="2.31.1"
|
||||
LD_FLAGS="-w -X main.version=$VERSION"
|
||||
mkdir bin
|
||||
$ynh_go_load_path $ynh_go install -v -ldflags "$LD_FLAGS" "$REPO_PATH/cmd/dex"
|
||||
#PROJ=dex
|
||||
#ORG_PATH=github.com/dexidp
|
||||
#REPO_PATH="$ORG_PATH/$PROJ"
|
||||
#VERSION="2.31.1"
|
||||
#LD_FLAGS="-w -X main.version=$VERSION"
|
||||
#mkdir bin
|
||||
export GOPATH=$final_path
|
||||
make build
|
||||
popd
|
||||
|
||||
ynh_remove_go
|
||||
|
|
Loading…
Add table
Reference in a new issue