aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/install10
-rw-r--r--scripts/upgrade10
2 files changed, 10 insertions, 10 deletions
diff --git a/scripts/install b/scripts/install
index 6608646..a8ede41 100644
--- a/scripts/install
+++ b/scripts/install
@@ -82,12 +82,12 @@ pushd "$install_dir/live"
gem update --system
gem install bundler --no-document
- ynh_exec_as_app $ld_preload bin/bundle config deployment 'true'
- ynh_exec_as_app $ld_preload bin/bundle config without 'development test'
- ynh_exec_as_app $ld_preload bin/bundle config set force_ruby_platform true --quiet
- ynh_exec_as_app $ld_preload bin/bundle install -j$(getconf _NPROCESSORS_ONLN)
+ ynh_hide_warnings ynh_exec_as_app $ld_preload bin/bundle config deployment 'true'
+ ynh_hide_warnings ynh_exec_as_app $ld_preload bin/bundle config without 'development test'
+ ynh_hide_warnings ynh_exec_as_app $ld_preload bin/bundle config set force_ruby_platform true --quiet
+ ynh_hide_warnings ynh_exec_as_app $ld_preload bin/bundle install -j$(getconf _NPROCESSORS_ONLN)
- env node_load_PATH corepack enable
+ env corepack enable
echo Y | ynh_hide_warnings ynh_exec_as_app yarn workspaces focus --production
ynh_hide_warnings ynh_exec_as_app yarn install --immutable
echo "SAFETY_ASSURED=1">> $config
diff --git a/scripts/upgrade b/scripts/upgrade
index d9fa23f..d44d200 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -101,12 +101,12 @@ pushd "$install_dir/live"
gem update --system
gem install bundler --no-document
- ynh_exec_as_app $ld_preload bin/bundle config deployment 'true'
- ynh_exec_as_app $ld_preload bin/bundle config without 'development test'
- ynh_exec_as_app $ld_preload bin/bundle config set force_ruby_platform true --quiet
- ynh_exec_as_app $ld_preload bin/bundle install -j$(getconf _NPROCESSORS_ONLN)
+ ynh_hide_warnings ynh_exec_as_app $ld_preload bin/bundle config deployment 'true'
+ ynh_hide_warnings ynh_exec_as_app $ld_preload bin/bundle config without 'development test'
+ ynh_hide_warnings ynh_exec_as_app $ld_preload bin/bundle config set force_ruby_platform true --quiet
+ ynh_hide_warnings ynh_exec_as_app $ld_preload bin/bundle install -j$(getconf _NPROCESSORS_ONLN)
- env node_load_PATH corepack enable
+ env corepack enable
echo Y | ynh_hide_warnings ynh_exec_as_app yarn workspaces focus --production
ynh_hide_warnings ynh_exec_as_app yarn install --immutable
popd