mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	build_emoji: Rename setup_emoji_farm() to setup_emoji_farms().
				
					
				
			This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							d72280f1c7
						
					
				
				
					commit
					ed694001da
				
			@@ -127,7 +127,7 @@ def generate_sprite_css_files(cache_path: str,
 | 
			
		||||
                                                      })
 | 
			
		||||
    sprite_css_file.close()
 | 
			
		||||
 | 
			
		||||
def setup_emoji_farm(cache_path: str, emoji_data: List[Dict[str, Any]]) -> None:
 | 
			
		||||
def setup_emoji_farms(cache_path: str, emoji_data: List[Dict[str, Any]]) -> None:
 | 
			
		||||
    def ensure_emoji_image(emoji_dict: Dict[str, Any]) -> None:
 | 
			
		||||
        # We use individual images from emoji farm for rendering emojis
 | 
			
		||||
        # in notification messages. We have a custom emoji formatter in
 | 
			
		||||
@@ -245,7 +245,7 @@ def dump_emojis(cache_path: str) -> None:
 | 
			
		||||
 | 
			
		||||
    # Setup emoji farms.
 | 
			
		||||
    run(['rm', '-rf', cache_path])
 | 
			
		||||
    setup_emoji_farm(cache_path, emoji_data)
 | 
			
		||||
    setup_emoji_farms(cache_path, emoji_data)
 | 
			
		||||
    setup_old_emoji_farm(cache_path, emoji_map, emoji_data)
 | 
			
		||||
 | 
			
		||||
    # Generate various map files.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user