Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
Signed-off-by: John Nunley <[email protected]>
  • Loading branch information
notgull committed Oct 23, 2023
1 parent ebe9640 commit 569c7b0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ keysyms:
docker container run --rm \
--name keysym_generator \
--mount type=bind,source="$(pwd)",target=/xkeysym \
-it rust:slim-bookworm \
sh -c "apt-get update && apt-get install x11proto-core-dev && \
-it rust:slim \
sh -c "apt-get update -y && apt-get install x11proto-core-dev -y --no-install-recommends && \
cargo run --manifest-path /xkeysym/keysym-generator/Cargo.toml \
/xkeysym/src/automatically_generated.rs"

9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ In addition, this crate contains no unsafe code and is fully compatible with

The Minimum Safe Rust Version for this crate is **1.48.0**.

## Updating Headers

To update the automatically generated keyboard symbols in the
`automatically_generated.rs` file, install [Just] and run `just`. The process
creates a Debian Docker container in order to keep the files consistent, so make
sure Docker is installed first.

[Just]: https://github.com/casey/just

## License

Licensed under either of
Expand Down

0 comments on commit 569c7b0

Please sign in to comment.