1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/endi_ynh.git synced 2024-09-03 18:35:54 +02:00

fix linter

This commit is contained in:
Éric Gaspar 2023-12-17 15:13:52 +01:00
parent 77ff858803
commit 410090c75f
3 changed files with 6 additions and 6 deletions

View file

@ -20,11 +20,14 @@ userdoc = "https://doc.endi.coop"
code = "https://framagit.org/endi/endi" code = "https://framagit.org/endi/endi"
[integration] [integration]
yunohost = ">= 11.1.19" yunohost = ">= 11.2"
architectures = "all" architectures = "all"
multi_instance = true multi_instance = true
ldap = false ldap = false
sso = false sso = false
disk = "50M" disk = "50M"
ram.build = "50M" ram.build = "50M"
ram.runtime = "50M" ram.runtime = "50M"
@ -60,7 +63,7 @@ ram.runtime = "50M"
[resources.apt] [resources.apt]
packages = [ packages = [
"mariadb_server", "mariadb-server",
"python3-pip", "python3-pip",
"python3-venv", "python3-venv",
"cython3", "cython3",

View file

@ -22,11 +22,8 @@ __ynh_endi_build() {
ynh_install_nodejs --nodejs_version=16 ynh_install_nodejs --nodejs_version=16
pushd "$install_dir/endi" 2>&1 pushd "$install_dir/endi" 2>&1
ynh_script_progression --message="Downloading NPM dependencies..." --weight=1
ynh_exec_as $app $ynh_node_load_PATH $ynh_npm --prefix js_sources install 2>&1 ynh_exec_as $app $ynh_node_load_PATH $ynh_npm --prefix js_sources install 2>&1
ynh_exec_as $app $ynh_node_load_PATH $ynh_npm --prefix vue_sources install 2>&1 ynh_exec_as $app $ynh_node_load_PATH $ynh_npm --prefix vue_sources install 2>&1
ynh_script_progression --message="Building Web interface code..." --weight=1
ynh_exec_as $app $ynh_node_load_PATH make prodjs devjs prodjs2 devjs2 2>&1 \ ynh_exec_as $app $ynh_node_load_PATH make prodjs devjs prodjs2 devjs2 2>&1 \
|| ynh_die --message="Build of javascript code failed, maybe because of high RAM usage!" || ynh_die --message="Build of javascript code failed, maybe because of high RAM usage!"
popd 2>&1 popd 2>&1

View file

@ -94,7 +94,7 @@ ynh_use_logrotate --non-append
#================================================= #=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
yunohost service add $app --description="enDI, logiciel de comptabilité pour CAE" --log="/var/log/$app/logfile.log" yunohost service add $app --description="enDI, logiciel de comptabilité pour CAE" --log=/var/log/$app/$app.log
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE