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

Merge pull request #27 from YunoHost-Apps/testing

Fix Bullseye
This commit is contained in:
tituspijean 2022-04-09 00:34:27 +02:00 committed by GitHub
commit 9c5716a5c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 6 deletions

View file

@ -24,7 +24,7 @@ Dendrite is a second-generation Matrix homeserver written in Go. It intends to p
- Scalable: can run on multiple machines and eventually scale to massive homeserver deployments.
**Shipped version:** 0.6.5~ynh1
**Shipped version:** 0.8.1~ynh1

View file

@ -20,7 +20,7 @@ Dendrite is a second-generation Matrix homeserver written in Go. It intends to p
- Scalable: can run on multiple machines and eventually scale to massive homeserver deployments.
**Version incluse :** 0.6.5~ynh1
**Version incluse :** 0.8.1~ynh1

View file

@ -1,7 +1,6 @@
SOURCE_URL=https://api.github.com/repos/matrix-org/dendrite/tarball/v0.6.5
SOURCE_SUM=b75e8515596658f2e1d6413c0f5a20fb6e92f51fd6f7675c925efd1f75c09200
SOURCE_URL=https://api.github.com/repos/matrix-org/dendrite/tarball/v0.8.1
SOURCE_SUM=0429a7fcd95a3b43cf72144571faac65a71e49e6b86f96b2471e22e5deeb79dc
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=
SOURCE_EXTRACT=true

View file

@ -6,7 +6,7 @@
"en": "Matrix homeserver of second generation",
"fr": "Serveur Matrix de seconde génération"
},
"version": "0.6.5~ynh1",
"version": "0.8.1~ynh1",
"url": "https://matrix.org/",
"upstream": {
"license": "Apache-2.0",

View file

@ -126,6 +126,8 @@ ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION
pushd "$final_path/build"
# Build the sources
ynh_use_go
export GOPATH="$final_path/build/go"
export GOCACHE="$final_path/build/.cache"
CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server > /dev/null 2>&1
CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/goose > /dev/null 2>&1
CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account > /dev/null 2>&1

View file

@ -120,6 +120,8 @@ then
pushd "$final_path/build"
# Build the sources
ynh_use_go
export GOPATH="$final_path/build/go"
export GOCACHE="$final_path/build/.cache"
CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server > /dev/null 2>&1
CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/goose > /dev/null 2>&1
CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account > /dev/null 2>&1