layout: Bundle number layout

This commit is contained in:
Dorota Czaplejewicz
2019-09-13 09:11:20 +00:00
parent edb28cb859
commit c8cc5b1997
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
const KEYBOARDS: &[(*const str, *const str)] = &[ const KEYBOARDS: &[(*const str, *const str)] = &[
("us", include_str!("../data/keyboards/us.yaml")), ("us", include_str!("../data/keyboards/us.yaml")),
("nb", include_str!("../data/keyboards/nb.yaml")), ("nb", include_str!("../data/keyboards/nb.yaml")),
("number", include_str!("../data/keyboards/number.yaml")),
]; ];
pub fn get_keyboard(needle: &str) -> Option<&'static str> { pub fn get_keyboard(needle: &str) -> Option<&'static str> {

View File

@ -47,7 +47,7 @@ endforeach
# The layout test is in the examples directory # The layout test is in the examples directory
# due to the way Cargo builds executables # due to the way Cargo builds executables
# and the need to call it manually # and the need to call it manually
foreach layout : ['us', 'nb'] foreach layout : ['us', 'nb', 'number']
test( test(
'test_layout_' + layout, 'test_layout_' + layout,
cargo_script, cargo_script,