Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed May 11, 2015
1 parent 515a0c9 commit fdfb3b8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Expand Up @@ -35,13 +35,20 @@ $ (cd testsuite/partest && ./runtests.pl -j8)

OpenModelica.git is a superproject. Clone the project using:
```bash
$ git clone https://github.com/OpenModelica/OpenModelica.git --recursive
git clone https://github.com/OpenModelica/OpenModelica.git --recursive
```
To keep the project updated, use something like:
```bash
$ git pull --recursive && git submodule foreach --recursive "git submodule update"
git pull --recursive && git submodule foreach --recursive "git submodule update"
```
If you have push access to the submodules, you can push them all together and let [hudson](https://test.openmodelica.org/hudson/) run the tests before this project is updated (only necessary if you change an interface or the test suite at the same time as [OMCompiler](https://github.com/OpenModelica/OMCompiler)):
```bash
git submodule foreach --recursive "git push"
```
If you are a developer and want to track the latest heads, use:
```
# To clone
git clone https://github.com/OpenModelica/OpenModelica.git --recursive && (cd OpenModelica && git submodule foreach --recursive "git checkout master")
# To update
git submodule foreach --recursive "git pull"
```

0 comments on commit fdfb3b8

Please sign in to comment.