MonarcAppFO/scripts/extract_translations.sh

23 lines
423 B
Bash
Raw Permalink Normal View History

2016-04-13 17:03:50 +02:00
#!/bin/bash
if [ -d node_modules/ng_backoffice ]; then
pushd node_modules/ng_backoffice
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
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