mirror of
https://github.com/modelec/Initialisation.git
synced 2026-01-18 15:57:20 +01:00
Update update_all_repo.sh
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Update of the TCP server
|
||||
echo "Updating the TCP server"
|
||||
cd /home/modelec/Serge/TCPSocketServer && git pull && cd build && cmake .. && make
|
||||
echo "TCP server updated"
|
||||
# Update Server TCP
|
||||
echo "Upadting TCP Server"
|
||||
cd /home/modelec/Serge/TCPSocketServer/build && git pull && cmake .. && make
|
||||
cd /home/modelec/Serge/TCPSocketServerGC/build && git pull && cmake .. && make
|
||||
echo "Server updated"
|
||||
|
||||
# Update of the TCP Client
|
||||
echo "Updating the TCP client"
|
||||
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
|
||||
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 "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"
|
||||
|
||||
Reference in New Issue
Block a user