mirror of
https://github.com/YunoHost-Apps/dex_ynh.git
synced 2024-09-03 18:26:22 +02:00
improving go
This commit is contained in:
parent
4087db3870
commit
f07a5b1fdc
2 changed files with 4 additions and 2 deletions
|
@ -118,11 +118,12 @@ pushd "$final_path"
|
|||
# Setup go exe and environnement
|
||||
ynh_use_go
|
||||
export GOPATH="$final_path/go"
|
||||
export GOCACHE="$final_path/.cache"
|
||||
export GOCACHE="$final_path/go/.cache"
|
||||
# Build server from source
|
||||
make build 2>&1
|
||||
# Setup a nice Yunohost logo
|
||||
cp /usr/share/yunohost/admin/img/logo.08bab97e.png web/themes/light/logo.png
|
||||
ynh_secure_remove --file="$final_path/go"
|
||||
popd
|
||||
|
||||
ynh_remove_go
|
||||
|
|
|
@ -100,11 +100,12 @@ pushd "$final_path"
|
|||
# Setup go exe and environnement
|
||||
ynh_use_go
|
||||
export GOPATH="$final_path/go"
|
||||
export GOCACHE="$final_path/.cache"
|
||||
export GOCACHE="$final_path/go/.cache"
|
||||
# Build server from source
|
||||
make build 2>&1
|
||||
# Setup a nice Yunohost logo
|
||||
cp /usr/share/yunohost/admin/img/logo.08bab97e.png web/themes/light/logo.png
|
||||
ynh_secure_remove --file="$final_path/go"
|
||||
popd
|
||||
|
||||
ynh_remove_go
|
||||
|
|
Loading…
Add table
Reference in a new issue