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:
parent
d00f1f6842
commit
d6b84db4c3
1 changed files with 5 additions and 3 deletions
|
@ -96,11 +96,13 @@ then
|
||||||
pushd "$install_dir/build"
|
pushd "$install_dir/build"
|
||||||
# Build the sources
|
# Build the sources
|
||||||
ynh_use_go
|
ynh_use_go
|
||||||
|
export PATH="$PATH"
|
||||||
export GOPATH="$install_dir/build/go"
|
export GOPATH="$install_dir/build/go"
|
||||||
export GOCACHE="$install_dir/build/.cache"
|
export GOCACHE="$install_dir/build/.cache"
|
||||||
CGO_ENABLED=1 go build -trimpath -v -o "$install_dir/bin/" ./cmd/dendrite > /dev/null 2>&1
|
export CGO_ENABLED=1
|
||||||
CGO_ENABLED=1 go build -trimpath -v -o "$install_dir/bin/" ./cmd/create-account > /dev/null 2>&1
|
ynh_exec_warn_less go build -trimpath -v -o "$install_dir/bin/" ./cmd/dendrite
|
||||||
CGO_ENABLED=1 go build -trimpath -v -o "$install_dir/bin/" ./cmd/generate-keys > /dev/null 2>&1
|
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
|
popd
|
||||||
|
|
||||||
ynh_secure_remove --file="$install_dir/build"
|
ynh_secure_remove --file="$install_dir/build"
|
||||||
|
|
Loading…
Add table
Reference in a new issue