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

Improve build commands: do not silence them

This commit is contained in:
tituspijean 2023-07-09 13:42:00 +00:00
parent d00f1f6842
commit d6b84db4c3

View file

@ -96,11 +96,13 @@ then
pushd "$install_dir/build"
# Build the sources
ynh_use_go
export PATH="$PATH"
export GOPATH="$install_dir/build/go"
export GOCACHE="$install_dir/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 "$install_dir/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
export CGO_ENABLED=1
ynh_exec_warn_less go build -trimpath -v -o "$install_dir/bin/" ./cmd/dendrite
ynh_exec_warn_less go build -trimpath -v -o "$install_dir/bin/" ./cmd/create-account
ynh_exec_warn_less go build -trimpath -v -o "$install_dir/bin/" ./cmd/generate-keys
popd
ynh_secure_remove --file="$install_dir/build"