Tasmota/lib/Joba_Tsl2561-2.0.7/examples/platformio.sh

13 lines
263 B
Bash
Raw Normal View History

#!/bin/bash
#
# Create platformio.ini templates for all examples, if missing.
# Start this script from within the examples directory.
for d in *; do
if [ -d "$d" -a -f "$d/$d.ino" -a ! -e "$d/platformio.ini" ]
then
cp -av platformio.ini "$d/"
fi
done