microbit/minifyflash
2021-03-21 08:17:45 +01:00

10 lines
263 B
Bash
Executable file

#!/usr/bin/env bash
MINIFY=/Users/gaugendre/.pyenv/versions/3.8.5/envs/microbit/bin/pyminifier
FLASH=/Users/gaugendre/.pyenv/versions/3.8.5/envs/microbit/bin/uflash
MINIFIED_FILE=minified.py
$MINIFY -o $MINIFIED_FILE $1
$FLASH $MINIFIED_FILE
rm $MINIFIED_FILE