layout: Bundle number layout
This commit is contained in:
		@ -6,6 +6,7 @@
 | 
			
		||||
const KEYBOARDS: &[(*const str, *const str)] = &[
 | 
			
		||||
    ("us", include_str!("../data/keyboards/us.yaml")),
 | 
			
		||||
    ("nb", include_str!("../data/keyboards/nb.yaml")),
 | 
			
		||||
    ("number", include_str!("../data/keyboards/number.yaml")),
 | 
			
		||||
];
 | 
			
		||||
 | 
			
		||||
pub fn get_keyboard(needle: &str) -> Option<&'static str> {
 | 
			
		||||
 | 
			
		||||
@ -47,7 +47,7 @@ endforeach
 | 
			
		||||
# The layout test is in the examples directory
 | 
			
		||||
# due to the way Cargo builds executables
 | 
			
		||||
# and the need to call it manually
 | 
			
		||||
foreach layout : ['us', 'nb']
 | 
			
		||||
foreach layout : ['us', 'nb', 'number']
 | 
			
		||||
    test(
 | 
			
		||||
        'test_layout_' + layout,
 | 
			
		||||
        cargo_script,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user