Merge branch 'simple_cargo' into 'master'

cargo: Allow for manual cargo invokations

See merge request Librem5/squeekboard!158
This commit is contained in:
David Boddie
2019-09-11 13:34:42 +00:00
2 changed files with 21 additions and 3 deletions

View File

@ -62,6 +62,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
```