build: Simplified the calling of cargo.sh

This commit is contained in:
Dorota Czaplejewicz
2019-09-24 11:26:22 +00:00
parent 169f33c67a
commit e7d30d933f
4 changed files with 9 additions and 9 deletions

View File

@ -42,7 +42,7 @@ Use the `cargo.sh` script for maintaining the Cargo part of the build. The scrip
```
cd build_dir
sh /source_path/cargo.sh /source_path '' test
sh /source_path/cargo.sh '' test
```
### Cargo dependencies
@ -53,6 +53,6 @@ Dependencies must be specified in `Cargo.toml` with 2 numbers: "major.minor". Si
```
cd build_dir
sh /source_path/cargo.sh /source_path '' update
sh /source_path/cargo.sh '' update
ninja test
```