scripts: LinkModulesResources: Link ng_anr views too

pull/1/head
Guillaume Lesniak 2016-08-30 09:45:55 +02:00
parent 3f4aed0333
commit fba3c8426a
1 changed files with 10 additions and 0 deletions

View File

@ -44,6 +44,11 @@ if [ -d node_modules/ng_backoffice ]; then
mkdir -p anr
cd anr && find ../../../node_modules/ng_anr/src -type f -maxdepth 1 -name "*" -exec ln -s {} \; 2>/dev/null
cd ..
cd ../views/
mkdir -p anr
cd anr && find ../../../node_modules/ng_anr/views -type f -maxdepth 1 -name "*" -exec ln -s {} \; 2>/dev/null
cd ..
fi
cd ../..
@ -64,6 +69,11 @@ if [ -d node_modules/ng_client ]; then
mkdir -p anr
cd anr && find ../../../node_modules/ng_anr/src -type f -maxdepth 1 -name "*" -exec ln -s {} \; 2>/dev/null
cd ..
cd ../views/
mkdir -p anr
cd anr && find ../../../node_modules/ng_anr/views -type f -maxdepth 1 -name "*" -exec ln -s {} \; 2>/dev/null
cd ..
fi
cd ../..