Browse Source

pip-micropython: Require command verb, but restrict to "install" only.

So, pip-micropython can/should be run as normal pip:

    pip-micropython install micropython-unittest
pull/444/head
Paul Sokolovsky 11 years ago
parent
commit
9f043da5c3
  1. 6
      tools/pip-micropython

6
tools/pip-micropython

@ -6,6 +6,12 @@
# ports (if PIP_MICROPY_DEST environment var is set).
#
if [ "$1" != "install" ]; then
echo "Only install command is supported currently"
exit 1
fi
shift
if [ -n "$PIP_MICROPY_DEST" ]; then
dest="$PIP_MICROPY_DEST"
echo "Destination snapshot directory: $dest"

Loading…
Cancel
Save