1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh.git synced 2024-09-03 19:46:01 +02:00

Merge pull request #28 from YunoHost-Apps/testing

Testing
This commit is contained in:
Gredin67 2021-08-07 18:56:21 +02:00 committed by GitHub
commit a95215f2ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 5 deletions

View file

@ -6,7 +6,7 @@
"en": "A WhatsApp puppeting bridge for Matrix/Synapse.",
"fr": "Passerelle WhatsApp pour Matrix/Synapse."
},
"version": "0.1.7~ynh2",
"version": "0.1.7~ynh3",
"url": "https://github.com/tulir/mautrix-whatsapp",
"license": "AGPL-3.0-or-later",
"maintainer": {

View file

@ -125,8 +125,10 @@ fi
ynh_install_extra_app_dependencies --repo="http://http.debian.net/debian buster-backports main" --package="golang-go"
#export GOPATH="$final_path"
#export GOCACHE="$GOPATH"/.cache/go-build
src_path="$final_path"/src
mkdir -p $src_path
export GOPATH="$src_path"
export GOCACHE="$GOPATH"/.cache/go-build
export PATH=$PATH:$GO_PATH
env_path=$PATH

View file

@ -133,13 +133,16 @@ ynh_install_extra_app_dependencies --repo="http://http.debian.net/debian buster-
# Migration from 1.6.0
ynh_secure_remove --file="$final_path"/asmux.go
src_path="$final_path"_src
#export GOPATH=$src_path
#export GOCACHE="$GOPATH"/.cache/go-build
# Remove a directory securely
ynh_secure_remove --file="$src_path"
#export PATH=$PATH:$GO_PATH
#env_path=$PATH
src_path="$final_path"/src
mkdir -p $src_path
export GOPATH="$src_path"
export GOCACHE="$GOPATH"/.cache/go-build
#=================================================
# BUILD GO
#=================================================