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