mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
This commit is contained in:
parent
6a1c891d74
commit
d24bf59dba
1 changed files with 1 additions and 3 deletions
4
ynh-dev
4
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,7 +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"
|
||||
|
|
Loading…
Add table
Reference in a new issue