Directly calling git commands
This commit is contained in:
9
Makefile
9
Makefile
@@ -33,15 +33,6 @@ clone-windows-game:
|
|||||||
clone-windows-wiki:
|
clone-windows-wiki:
|
||||||
@git clone https://github.com/Open-RSC/Wiki.git Website/Wiki
|
@git clone https://github.com/Open-RSC/Wiki.git Website/Wiki
|
||||||
|
|
||||||
pull-game:
|
|
||||||
@$(shell cd Game && git reset HEAD --hard && git pull)
|
|
||||||
|
|
||||||
pull-website:
|
|
||||||
@$(shell cd Website && git reset HEAD --hard && git pull)
|
|
||||||
|
|
||||||
pull-wiki:
|
|
||||||
@$(shell cd Website/Wiki && git reset HEAD --hard && git pull)
|
|
||||||
|
|
||||||
pull-game-windows:
|
pull-game-windows:
|
||||||
@cd Game && git reset HEAD --hard && git pull
|
@cd Game && git reset HEAD --hard && git pull
|
||||||
|
|
||||||
|
|||||||
@@ -292,7 +292,7 @@ if [ "$choice" == "1" ]; then
|
|||||||
echo ""
|
echo ""
|
||||||
echo "You may now be prompted for your password so the installer has sudo access."
|
echo "You may now be prompted for your password so the installer has sudo access."
|
||||||
echo ""
|
echo ""
|
||||||
sudo make pull-game
|
cd Game && git reset HEAD --hard && git pull
|
||||||
echo ""
|
echo ""
|
||||||
echo ""
|
echo ""
|
||||||
echo "Logging into Docker Hub to get the required images."
|
echo "Logging into Docker Hub to get the required images."
|
||||||
@@ -339,9 +339,9 @@ elif [ "$choice" == "2" ]; then
|
|||||||
echo ""
|
echo ""
|
||||||
echo "You may now be prompted for your password so the installer has sudo access."
|
echo "You may now be prompted for your password so the installer has sudo access."
|
||||||
echo ""
|
echo ""
|
||||||
sudo make pull-game
|
cd Game && git reset HEAD --hard && git pull
|
||||||
echo ""
|
echo ""
|
||||||
sudo make pull-website
|
cd Website && git reset HEAD --hard && git pull
|
||||||
echo ""
|
echo ""
|
||||||
echo ""
|
echo ""
|
||||||
echo "Logging into Docker Hub to get the required images."
|
echo "Logging into Docker Hub to get the required images."
|
||||||
@@ -390,11 +390,11 @@ elif [ "$choice" == "3" ]; then
|
|||||||
echo ""
|
echo ""
|
||||||
echo "You may now be prompted for your password so the installer has sudo access."
|
echo "You may now be prompted for your password so the installer has sudo access."
|
||||||
echo ""
|
echo ""
|
||||||
sudo make pull-game
|
cd Game && git reset HEAD --hard && git pull
|
||||||
echo ""
|
echo ""
|
||||||
sudo make pull-website
|
cd Website && git reset HEAD --hard && git pull
|
||||||
echo ""
|
echo ""
|
||||||
sudo make pull-wiki
|
cd Website/Wiki && git reset HEAD --hard && git pull
|
||||||
echo ""
|
echo ""
|
||||||
echo ""
|
echo ""
|
||||||
echo "Logging into Docker Hub to get the required images."
|
echo "Logging into Docker Hub to get the required images."
|
||||||
|
|||||||
Reference in New Issue
Block a user