diff --git a/ynh-dev b/ynh-dev index 04a7930..bf5ce4f 100755 --- a/ynh-dev +++ b/ynh-dev @@ -165,7 +165,6 @@ function attach_ynhdev() # './ynh-dev use-git yunohost-admin' if [[ ! -L ./yunohost-admin/src/dist ]] then - ln -s /var/cache/ynh-dev/yunohost-admin/bower_components ./yunohost-admin/src/ ln -s /var/cache/ynh-dev/yunohost-admin/node_modules ./yunohost-admin/src/ ln -s /var/cache/ynh-dev/yunohost-admin/dist ./yunohost-admin/src/ fi @@ -287,7 +286,7 @@ function use_git() then info "Installing dependencies to develop in yunohost-admin ..." - curl -sL https://deb.nodesource.com/setup_6.x | bash - + curl -sL https://deb.nodesource.com/setup_10.x | bash - apt install nodejs -y npm install -g bower @@ -296,9 +295,6 @@ function use_git() cd /ynh-dev/yunohost-admin/src npm install --no-bin-links - su ynhdev -c "bower install" - su ynhdev -c "gulp build --dev" - create_sym_link "/ynh-dev/yunohost-admin/src" "/usr/share/yunohost/admin" success "Now using Git repository for yunohost-admin" @@ -310,7 +306,7 @@ function use_git() warn "don't need to re-run npm yourself everytime you change " warn "something ! " warn "-------------------------------------------------------- " - su ynhdev -c "gulp watch --dev" + su ynhdev -c "gulp --dev" ;; esac