FIX: BO Extration translation script

pull/1/head
Juan Rocha 2017-04-19 15:28:56 +02:00
parent 49a2451cad
commit 182f9042b8
1 changed files with 12 additions and 2 deletions

View File

@ -2,11 +2,21 @@
if [ -d node_modules/ng_backoffice ]; then
pushd node_modules/ng_backoffice
node_modules/.bin/grunt extract_translations
if [ -f node_modules/.bin/grunt ]; then
node_modules/.bin/grunt extract_translations
else
grunt extract_translations
fi
fi
if [ -d node_modules/ng_client ]; then
pushd node_modules/ng_client
node_modules/.bin/grunt extract_translations
if [ -f node_modules/.bin/grunt ]; then
node_modules/.bin/grunt extract_translations
else
grunt extract_translations
fi
fi