We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 519ceaa commit df13befCopy full SHA for df13bef
1 file changed
scripts/build_mpos.sh
@@ -83,6 +83,17 @@ ln -sf ../../c_mpos "$codebasedir"/lvgl_micropython/ext_mod/c_mpos
83
#echo "Applying lvgl_micropython i2c patch..."
84
#patch -p0 --forward < "$codebasedir"/patches/i2c_ng.patch
85
86
+echo "Minifying and inlining HTML..."
87
+pushd "$codebasedir"/webrepl/
88
+python3 inline_minify_webrepl.py
89
+result=$0
90
+if [ $? -ne 0 ]; then
91
+ echo "ERROR: webrepl/inline_minify_webrepl.py failed with exit code $result, webrepl won't work"
92
+else
93
+ mv webrepl_inlined_minified.html ../internal_filesystem/builtin/html/
94
+fi
95
+popd
96
+
97
echo "Refreshing freezefs..."
98
"$codebasedir"/scripts/freezefs_mount_builtin.sh
99
0 commit comments