mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-11-04 03:54:44 +00:00 
			
		
		
		
	
		
			
	
	
		
			24 lines
		
	
	
		
			693 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
		
		
			
		
	
	
			24 lines
		
	
	
		
			693 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| 
								 | 
							
								fn main() {
							 | 
						||
| 
								 | 
							
								  #[cfg(feature = "dart")]
							 | 
						||
| 
								 | 
							
								  {
							 | 
						||
| 
								 | 
							
								    flowy_codegen::protobuf_file::dart_gen(env!("CARGO_PKG_NAME"));
							 | 
						||
| 
								 | 
							
								    flowy_codegen::dart_event::gen(env!("CARGO_PKG_NAME"));
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  #[cfg(feature = "tauri_ts")]
							 | 
						||
| 
								 | 
							
								  {
							 | 
						||
| 
								 | 
							
								    flowy_codegen::ts_event::gen(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::Tauri,
							 | 
						||
| 
								 | 
							
								    );
							 | 
						||
| 
								 | 
							
								    flowy_codegen::ts_event::gen(env!("CARGO_PKG_NAME"), flowy_codegen::Project::TauriApp);
							 | 
						||
| 
								 | 
							
								    flowy_codegen::protobuf_file::ts_gen(
							 | 
						||
| 
								 | 
							
								      env!("CARGO_PKG_NAME"),
							 | 
						||
| 
								 | 
							
								      env!("CARGO_PKG_NAME"),
							 | 
						||
| 
								 | 
							
								      flowy_codegen::Project::TauriApp,
							 | 
						||
| 
								 | 
							
								    );
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								}
							 |