2016-04-13 17:03:50 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [ -d node_modules/ng_backoffice ]; then
|
|
|
|
pushd node_modules/ng_backoffice
|
2017-04-19 15:28:56 +02:00
|
|
|
|
|
|
|
if [ -f node_modules/.bin/grunt ]; then
|
|
|
|
node_modules/.bin/grunt extract_translations
|
|
|
|
else
|
|
|
|
grunt extract_translations
|
|
|
|
fi
|
2016-04-13 17:03:50 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ -d node_modules/ng_client ]; then
|
|
|
|
pushd node_modules/ng_client
|
2017-04-19 15:28:56 +02:00
|
|
|
|
|
|
|
if [ -f node_modules/.bin/grunt ]; then
|
|
|
|
node_modules/.bin/grunt extract_translations
|
|
|
|
else
|
|
|
|
grunt extract_translations
|
|
|
|
fi
|
2016-04-13 17:03:50 +02:00
|
|
|
fi
|