cargo: Allow for manual cargo invokations

This commit is contained in:
Dorota Czaplejewicz
2019-09-10 10:15:25 +00:00
parent 04a47ad0af
commit c725cd7f14
2 changed files with 21 additions and 3 deletions

View File

@ -58,6 +58,15 @@ $ cd ../build/
$ src/squeekboard
```
### Maintenance
Use the `cargo.sh` script for maintaining the Cargo part of the build. The script takes the usual Cargo commands, after the first 2 positionsl arguments: source directory, and output artifact. So, `cargo test` becomes:
```
cd build_dir
/source_path/cargo.sh /source_path '' test
```
### Testing
```