mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-10-31 10:03:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			649 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			649 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| fn main() {
 | |
|   #[cfg(feature = "dart")]
 | |
|   flowy_codegen::protobuf_file::dart_gen(env!("CARGO_PKG_NAME"));
 | |
| 
 | |
|   #[cfg(feature = "tauri_ts")]
 | |
|   {
 | |
|     flowy_codegen::protobuf_file::ts_gen(
 | |
|       env!("CARGO_PKG_NAME"),
 | |
|       env!("CARGO_PKG_NAME"),
 | |
|       flowy_codegen::Project::Tauri,
 | |
|     );
 | |
|     flowy_codegen::protobuf_file::ts_gen(
 | |
|       env!("CARGO_PKG_NAME"),
 | |
|       env!("CARGO_PKG_NAME"),
 | |
|       flowy_codegen::Project::TauriApp,
 | |
|     );
 | |
|   }
 | |
| 
 | |
|   #[cfg(feature = "web_ts")]
 | |
|   flowy_codegen::protobuf_file::ts_gen(
 | |
|     env!("CARGO_PKG_NAME"),
 | |
|     "notification",
 | |
|     flowy_codegen::Project::Web {
 | |
|       relative_path: "../../".to_string(),
 | |
|     },
 | |
|   );
 | |
| }
 | 
