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

ynh_exec_warn_less

This commit is contained in:
yalh76 2022-03-20 13:36:41 +01:00
parent 31e26915a5
commit 06a1779973
2 changed files with 10 additions and 10 deletions

View file

@ -121,15 +121,15 @@ ynh_add_nginx_config
#================================================= #=================================================
ynh_script_progression --message="Building the sources (it will take some time)..." --weight=6 ynh_script_progression --message="Building the sources (it will take some time)..." --weight=6
ynh_install_go --go_version=$GO_VERSION ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION
pushd "$final_path/build" pushd "$final_path/build"
# Build the sources # Build the sources
ynh_use_go ynh_use_go
CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server ynh_exec_warn_less CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server
CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/goose ynh_exec_warn_less CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/goose
CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account ynh_exec_warn_less CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account
CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/generate-keys ynh_exec_warn_less CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/generate-keys
popd popd
ynh_secure_remove --file="$final_path/build" ynh_secure_remove --file="$final_path/build"

View file

@ -115,15 +115,15 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then then
ynh_script_progression --message="Building the sources (it will take some time)..." --weight=6 ynh_script_progression --message="Building the sources (it will take some time)..." --weight=6
ynh_install_go --go_version=$GO_VERSION ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION
pushd "$final_path/build" pushd "$final_path/build"
# Build the sources # Build the sources
ynh_use_go ynh_use_go
CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server ynh_exec_warn_less CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/dendrite-monolith-server
CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/goose ynh_exec_warn_less CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/goose
CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account ynh_exec_warn_less CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/create-account
CGO_ENABLED=1 go build -trimpath -v -o "$final_path/bin/" ./cmd/generate-keys ynh_exec_warn_less =1 go build -trimpath -v -o "$final_path/bin/" ./cmd/generate-keys
popd popd
ynh_secure_remove --file="$final_path/build" ynh_secure_remove --file="$final_path/build"