Skip to content

Commit 0b53d6a

Browse files
scripts/bundle_apps.sh : catch typos in manifestst
1 parent f40a2da commit 0b53d6a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/bundle_apps.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ rm "$outputjson"
2121
# com.micropythonos.showbattery is just a test
2222
# com.micropythonos.doom_launcher isn't ready because the firmware doesn't have doom built-in yet
2323
# com.micropythonos.nostr isn't ready for release yet
24-
blacklist="com.micropythonos.filemanager com.quasikili.quasidoodle com.micropythonos.errortest com.micropythonos.showbattery com.micropythonos.doom_launcher"
24+
blacklist="com.micropythonos.filemanager com.quasikili.quasidoodle com.micropythonos.errortest com.micropythonos.showbattery com.micropythonos.doom_launcher com.micropythonos.nostr"
2525

2626
echo "[" | tee -a "$outputjson"
2727

@@ -38,6 +38,11 @@ for apprepo in internal_filesystem/apps; do
3838
pushd "$apprepo"/"$appdir"
3939
manifest=META-INF/MANIFEST.JSON
4040
version=$( jq -r '.version' "$manifest" )
41+
result=$?
42+
if [ $result -ne 0 ]; then
43+
echo "Failed to parse $apprepo/$appdir/$manifest !"
44+
exit 1
45+
fi
4146
cat "$manifest" | tee -a "$outputjson"
4247
echo -n "," | tee -a "$outputjson"
4348
thisappdir="$output"/apps/"$appdir"

0 commit comments

Comments
 (0)