mirror of
https://github.com/modelec/Initialisation.git
synced 2026-03-18 21:30:40 +01:00
Add update all repo
This commit is contained in:
33
update_all_repo.sh
Normal file
33
update_all_repo.sh
Normal file
@@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Update of the Initialization script
|
||||
rm /home/modelec/Serge/Initialisation/startup.sh && cd /home/modelec/Serge/Initialisation && git pull && chmod 777 startup.sh
|
||||
|
||||
# Update of the TCP server
|
||||
cd /home/modelec/Serge/TCPSocketClient && git pull && cd build && cmake .. && make
|
||||
|
||||
# Update of the TCP Client
|
||||
cd /home/modelec/Serge/TCPSocketServer && git pull && cd build && cmake .. && make
|
||||
|
||||
# Update of the connectors
|
||||
cd /home/modelec/Serge/connectors && git pull && cd build && cmake .. && make
|
||||
|
||||
# Update of the detection adversaire
|
||||
cd /home/modelec/Serge/detection_adversaire && git pull && cd build && cmake .. && make
|
||||
|
||||
# Update of the detection pot
|
||||
cd /home/modelec/Serge/detection_pot && git pull && cd build && cmake .. && make
|
||||
|
||||
# Update of the emergency stop
|
||||
cd /home/modelec/Serge/emergency && git pull && cd build && cmake .. && make
|
||||
|
||||
# Update of the IHM
|
||||
cd /home/modelec/Serge/ihm && git pull && cd build && cmake .. && make
|
||||
|
||||
# Update of the servo moteur
|
||||
cd /home/modelec/Serge/servo_moteurs && git pull && cd build && cmake .. && make
|
||||
|
||||
# Update of the tirette
|
||||
cd /home/modelec/Serge/tirette && git pull && g++ main.cpp MyClient.cpp MyClient.h -o tirette -l wiringPi -l TCPSocket
|
||||
|
||||
echo "All repositories have been updated, Please check the logs for any errors"
|
||||
Reference in New Issue
Block a user