forked from MapComplete/MapComplete
Scripts(android): add failsafe for assets
This commit is contained in:
parent
434b8004e9
commit
c52c2f097a
1 changed files with 6 additions and 0 deletions
|
@ -8,6 +8,12 @@ then
|
|||
npm run generate:layouts
|
||||
fi
|
||||
|
||||
if [ ! -f "needed_assets.csv" ]
|
||||
then
|
||||
echo "NEEDED ASSETS is missing!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "config.json file is invalid, exiting now"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue