]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - test/scripts/upload_feather_huzzah_micropython_put.sh
Added pre-commit support
[Adafruit_Blinka-hackapet.git] / test / scripts / upload_feather_huzzah_micropython_put.sh
index 38ed5970d6b7c844674b6f854b2b2d3c9b995603..8bfb8ccb376fd880a7fe0112f01f83bdd5c90e45 100755 (executable)
@@ -1,4 +1,7 @@
 #!/bin/sh
+# SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries
+#
+# SPDX-License-Identifier: MIT
 PORT=/dev/ttyUSB0
 
 export MPYCROSS=`realpath ../../../micropython/mpy-cross/mpy-cross`
@@ -48,4 +51,4 @@ find . -type f -name '*.py' | \
     xargs -n1 -I {} sh -c "echo compiling {} ...; ${MPYCROSS} {}"
 # upload adafruit blinka .mpy files
 find . -type f -name '*.mpy' | \
-    xargs -n1 -I {} sh -c "echo uploading {} ...; ampy --port ${PORT} put {} {}"
\ No newline at end of file
+    xargs -n1 -I {} sh -c "echo uploading {} ...; ampy --port ${PORT} put {} {}"