mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
Add git submodule instruction
This commit is contained in:
@@ -8,7 +8,14 @@ cd sources
|
|||||||
git reset --hard origin/master
|
git reset --hard origin/master
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
# get updates
|
||||||
|
echo -e "\033[1;31m uses the repo submodule (note not yet) n/Y?.\033[m"
|
||||||
|
read a
|
||||||
|
if [[ $a == "Y" || $a == "y" ]]; then
|
||||||
|
git submodule update --init --recursive
|
||||||
|
else
|
||||||
git pull
|
git pull
|
||||||
|
fi
|
||||||
sed -i 's/DEFINES += QET_EXPORT_PROJECT_DB/#DEFINES += QET_EXPORT_PROJECT_DB/' qelectrotech.pro
|
sed -i 's/DEFINES += QET_EXPORT_PROJECT_DB/#DEFINES += QET_EXPORT_PROJECT_DB/' qelectrotech.pro
|
||||||
|
|
||||||
GITCOMMIT=$(git rev-parse --short HEAD)
|
GITCOMMIT=$(git rev-parse --short HEAD)
|
||||||
|
|||||||
@@ -11,7 +11,14 @@ SSH_OPTIONS=-B
|
|||||||
|
|
||||||
cd $DEFAULT_DIR
|
cd $DEFAULT_DIR
|
||||||
cd qet_git
|
cd qet_git
|
||||||
|
# get updates
|
||||||
|
echo -e "\033[1;31m uses the repo submodule (note not yet) n/Y?.\033[m"
|
||||||
|
read a
|
||||||
|
if [[ $a == "Y" || $a == "y" ]]; then
|
||||||
|
git submodule update --init --recursive
|
||||||
|
else
|
||||||
git pull
|
git pull
|
||||||
|
fi
|
||||||
|
|
||||||
GITCOMMIT=$(git rev-parse --short HEAD)
|
GITCOMMIT=$(git rev-parse --short HEAD)
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,13 @@ git reset --hard origin/master
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# get updates
|
# get updates
|
||||||
|
echo -e "\033[1;31m uses the repo submodule (note not yet) n/Y?.\033[m"
|
||||||
|
read a
|
||||||
|
if [[ $a == "Y" || $a == "y" ]]; then
|
||||||
|
git submodule update --init --recursive
|
||||||
|
else
|
||||||
git pull
|
git pull
|
||||||
|
fi
|
||||||
|
|
||||||
sed -i 's/DEFINES += QET_EXPORT_PROJECT_DB/#DEFINES += QET_EXPORT_PROJECT_DB/' qelectrotech.pro
|
sed -i 's/DEFINES += QET_EXPORT_PROJECT_DB/#DEFINES += QET_EXPORT_PROJECT_DB/' qelectrotech.pro
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user