1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dendrite_ynh.git synced 2024-09-03 18:25:58 +02:00

Merge branch 'testing' into version-2

This commit is contained in:
tituspijean 2023-04-04 22:29:14 +02:00
commit f21f7c72f4
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
4 changed files with 13 additions and 11 deletions

View file

@ -26,6 +26,7 @@ Dendrite is a second-generation Matrix homeserver written in Go. It intends to p
**Shipped version:** 0.12.0~ynh1 **Shipped version:** 0.12.0~ynh1
## :red_circle: Antifeatures ## :red_circle: Antifeatures
- **Alpha software**: Early development stage. May contain changing or unstable features, bugs, and security vulnerability. - **Alpha software**: Early development stage. May contain changing or unstable features, bugs, and security vulnerability.

View file

@ -26,6 +26,7 @@ Dendrite is a second-generation Matrix homeserver written in Go. It intends to p
**Version incluse :** 0.12.0~ynh1 **Version incluse :** 0.12.0~ynh1
## :red_circle: Fonctions indésirables ## :red_circle: Fonctions indésirables
- **Alpha software**: Early development stage. May contain changing or unstable features, bugs, and security vulnerability. - **Alpha software**: Early development stage. May contain changing or unstable features, bugs, and security vulnerability.

View file

@ -75,11 +75,11 @@ ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION
pushd "$install_dir/build" pushd "$install_dir/build"
# Build the sources # Build the sources
ynh_use_go ynh_use_go
export GOPATH="$install_dir/build/go" export GOPATH="$final_path/build/go"
export GOCACHE="$install_dir/build/.cache" export GOCACHE="$final_path/build/.cache"
CGO_ENABLED=1 go build -trimpath -v -o "$install_dir/bin/" ./cmd/dendrite > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite > /dev/null 2>&1
CGO_ENABLED=1 go build -trimpath -v -o "$install_dir/bin/" ./cmd/create-account > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account > /dev/null 2>&1
CGO_ENABLED=1 go build -trimpath -v -o "$install_dir/bin/" ./cmd/generate-keys > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/generate-keys > /dev/null 2>&1
popd popd
ynh_secure_remove --file="$install_dir/build" ynh_secure_remove --file="$install_dir/build"

View file

@ -96,11 +96,11 @@ then
pushd "$install_dir/build" pushd "$install_dir/build"
# Build the sources # Build the sources
ynh_use_go ynh_use_go
export GOPATH="$install_dir/build/go" export GOPATH="$final_path/build/go"
export GOCACHE="$install_dir/build/.cache" export GOCACHE="$final_path/build/.cache"
CGO_ENABLED=1 go build -trimpath -v -o "$install_dir/bin/" ./cmd/dendrite > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite > /dev/null 2>&1
CGO_ENABLED=1 go build -trimpath -v -o "$install_dir/bin/" ./cmd/create-account > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account > /dev/null 2>&1
CGO_ENABLED=1 go build -trimpath -v -o "$install_dir/bin/" ./cmd/generate-keys > /dev/null 2>&1 CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/generate-keys > /dev/null 2>&1
popd popd
#REMOVEME? ynh_secure_remove --file="$install_dir/build" #REMOVEME? ynh_secure_remove --file="$install_dir/build"