Tasmota/lib/Joba_Tsl2561-2.0.10/examples/platformio.sh
Theo Arends b800db4bac Update library Joba_Tsl2561 from 2.0.7 to 2.0.10
Update library Joba_Tsl2561 from 2.0.7 to 2.0.10
2019-04-18 17:28:56 +02:00

13 lines
263 B
Bash

#!/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