If the entrypoint is already what I want it to be, ignore error states

This commit is contained in:
Josh Klar 2018-09-02 23:43:30 -07:00
parent e4b19de009
commit 4295267b44

View File

@ -23,7 +23,7 @@ build-feather-test: lint devdeps
@echo "===> Flashing entrypoint if it doesn't already exist"
@sleep 2
@-timeout -k 5s 10s pipenv run ampy rm main.py 2>/dev/null
@timeout -k 5s 10s pipenv run ampy put entrypoints/feather_nrf52832.py main.py
@-timeout -k 5s 10s pipenv run ampy put entrypoints/feather_nrf52832.py main.py
@echo "===> Flashed keyboard successfully!"
# Fully wipe the board with only stock CircuitPython