mirror of
https://github.com/YunoHost-Apps/luckysheet_ynh.git
synced 2024-09-03 19:36:21 +02:00
run npm install gulp as root
This commit is contained in:
parent
f5a0a9b79b
commit
a2204c3ddd
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ ynh_script_progression --message="Building app... (this will take some time and
|
||||||
pushd "$install_dir/source"
|
pushd "$install_dir/source"
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" install
|
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" install
|
||||||
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" install gulp -g
|
ynh_exec_warn_less "$ynh_node_load_PATH" "$ynh_npm" install gulp -g
|
||||||
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" run build
|
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" run build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ ynh_script_progression --message="Building app... (this will take some time and
|
||||||
pushd "$install_dir/build"
|
pushd "$install_dir/build"
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" install
|
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" install
|
||||||
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" install gulp -g
|
ynh_exec_warn_less "$ynh_node_load_PATH" "$ynh_npm" install gulp -g
|
||||||
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" run build
|
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" run build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue