QUERY · ISSUE
Build process: mpy file in frozen dir produces spam
enhancementtools
I inadvertently included a .mpy file in a directory containing .py files for freezing. On building, so much output spewed that the Bash history buffer filled; I couldn't scroll back far enough to see where the error first occurred.
It would be good if the build process either stopped with a clear message or ignored files without .py extensions with a warning.
CANDIDATE · PULL REQUEST
port-javascript: handle FROZEN_MPY_DIR
tested on 1.9.3 with 2 .py in a folder called modules: one imp.py and an empty module
built with
emmake make FROZEN_MPY_DIR=modules