Align some quantum sub-directories (#14134)
* Misc folder tidy * Review comments * Remove redundant entry
This commit is contained in:
		
							parent
							
								
									2827a3cf75
								
							
						
					
					
						commit
						2cade3a483
					
				
					 17 changed files with 6 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
# This script generates a new keyboard directory under keyboards/,
 | 
			
		||||
# and copies the template files from quantum/template/ into it.
 | 
			
		||||
# and copies the template files from data/templates/ into it.
 | 
			
		||||
 | 
			
		||||
# Print an error message with the word "ERROR" in red.
 | 
			
		||||
echo_error() {
 | 
			
		||||
| 
						 | 
				
			
			@ -35,11 +35,11 @@ copy_templates() {
 | 
			
		|||
    mkdir -p "$keyboard_dir"
 | 
			
		||||
 | 
			
		||||
    echo -n "Copying base template files..."
 | 
			
		||||
    cp -r "quantum/template/base/." "${keyboard_dir}"
 | 
			
		||||
    cp -r "data/templates/base/." "${keyboard_dir}"
 | 
			
		||||
    echo " done"
 | 
			
		||||
 | 
			
		||||
    echo -n "Copying $keyboard_type template files..."
 | 
			
		||||
    cp -r "quantum/template/${keyboard_type}/." "${keyboard_dir}"
 | 
			
		||||
    cp -r "data/templates/${keyboard_type}/." "${keyboard_dir}"
 | 
			
		||||
    echo " done"
 | 
			
		||||
 | 
			
		||||
    echo -n "Renaming keyboard files..."
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue