platformio.sh 263 B

123456789101112
  1. #!/bin/bash
  2. #
  3. # Create platformio.ini templates for all examples, if missing.
  4. # Start this script from within the examples directory.
  5. for d in *; do
  6. if [ -d "$d" -a -f "$d/$d.ino" -a ! -e "$d/platformio.ini" ]
  7. then
  8. cp -av platformio.ini "$d/"
  9. fi
  10. done