Update update_all_repo.sh

This commit is contained in:
Ackimixs
2024-05-23 18:03:54 +02:00
committed by GitHub
parent 305bab64d8
commit 4ff6a4fa37

View File

@@ -1,14 +1,16 @@
#!/bin/bash #!/bin/bash
# Update of the TCP server # Update Server TCP
echo "Updating the TCP server" echo "Upadting TCP Server"
cd /home/modelec/Serge/TCPSocketServer && git pull && cd build && cmake .. && make cd /home/modelec/Serge/TCPSocketServer/build && git pull && cmake .. && make
echo "TCP server updated" cd /home/modelec/Serge/TCPSocketServerGC/build && git pull && cmake .. && make
echo "Server updated"
# Update of the TCP Client # Update of the TCP Client
echo "Updating the TCP client" echo "Updating the TCP client"
cd /home/modelec/Serge/cpp-lib && git pull && cd build && cmake .. && sudo make && sudo make install cd /home/modelec/Serge/cpp-lib && git pull && cd build && cmake .. && sudo make && sudo make install
echo "TCP client updated" cd /home/modelec/Serge/cpp-lib/example/build && cmake .. && make
echo "Lib updated"
# Update of the connectors # Update of the connectors
echo "Updating the connectors" echo "Updating the connectors"
@@ -46,4 +48,4 @@ cd /home/modelec/Serge/tirette && git pull && g++ main.cpp MyClient.cpp MyClient
echo "Tirette updated" echo "Tirette updated"
echo "All repositories have been updated, Please check the logs for any errors" echo "All repositories have been updated, Please check the logs for any errors"
echo "Please update Initialisation manually using git pull" echo "Please update Initialisation manually using git pull"