updated instructions related to submodules

This commit is contained in:
Jocelyn Fiat
2011-10-31 02:43:44 -07:00
parent 83a181ebf1
commit d4266a83ec
3 changed files with 6 additions and 7 deletions

View File

@@ -10,8 +10,7 @@ How to get the source code?
* git clone https://github.com/Eiffel-World/Eiffel-Web-Framework.git * git clone https://github.com/Eiffel-World/Eiffel-Web-Framework.git
* cd Eiffel-Web-Framework * cd Eiffel-Web-Framework
* git submodule update --init * git submodule update --init
* git submodule foreach git pull origin master * git submodule foreach --recursive git checkout master
* git submodule foreach git checkout master
* And to build the required and related Clibs * And to build the required and related Clibs
** cd ext/ise_library/curl ** cd ext/ise_library/curl

View File

@@ -1,9 +1,10 @@
cd %~dp0.. cd %~dp0..
echo Pull changes from origin master echo Pull changes from origin master
call git pull origin master call git pull origin master
echo Update all submodule recursively echo Update all submodule recursively
call git submodule update --recursive call git submodule update --init --recursive
echo Checkout master branch for each submodule recursively echo Checkout master branch for each submodule recursively
call git submodule foreach --recursive git checkout master call git submodule foreach --recursive git checkout master

View File

@@ -1,11 +1,10 @@
#!/bin/sh #!/bin/sh
cd ..
echo Pull changes from origin master echo Pull changes from origin master
call git pull origin master git pull origin master
echo Update all submodule recursively echo Update all submodule recursively
call git submodule update --recursive git submodule update --init --recursive
echo Checkout master branch for each submodule recursively echo Checkout master branch for each submodule recursively
call git submodule foreach --recursive git checkout master git submodule foreach --recursive git checkout master