From 569c7b0f324654970bc65b06dccdc79136743ef4 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Mon, 23 Oct 2023 12:20:15 -0700 Subject: [PATCH] Review comments Signed-off-by: John Nunley --- Justfile | 4 ++-- README.md | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Justfile b/Justfile index 9acdbeb..c5c7aed 100644 --- a/Justfile +++ b/Justfile @@ -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" diff --git a/README.md b/README.md index acecf9c..029abb3 100644 --- a/README.md +++ b/README.md @@ -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