More delpoyment helpers.

This commit is contained in:
Danny Staple 2022-03-14 15:38:24 +00:00
parent d3dc43fa50
commit 23370ee023
4 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,3 @@
.deploy/send-it.sh \
ch-5/2-forward-back/motors_forward.py \
ch-5/2-forward-back/robot.py

View File

@ -0,0 +1,6 @@
.deploy/send-it.sh \
ch-9/3-sensors/sensor_remote.py \
ch-9/3-sensors/robot_wifi.py \
ch-9/3-sensors/robot.py \
ch-9/3-sensors/pio_encoder.py \
ch-9/3-sensors/sensor.html

6
.deploy/ch-9-4-teleop.sh Normal file
View File

@ -0,0 +1,6 @@
.deploy/send-it.sh \
ch-9/4-teleop/teleop.py \
ch-9/4-teleop/robot_wifi.py \
ch-9/4-teleop/robot.py \
ch-9/4-teleop/pio_encoder.py \
ch-9/4-teleop/teleop.html

View File

@ -12,5 +12,5 @@ for file in "${FILES[@]}"; do
done done
for folder in "${FOLDERS[@]}"; do for folder in "${FOLDERS[@]}"; do
rsync -rv "${LIBRARY_SRC}/lib/${folder}" "${DEST}/lib/${folder}" rsync -rv "${LIBRARY_SRC}/lib/${folder}/" "${DEST}/lib/${folder}/"
done done