| 
									
										
										
										
											2021-07-03 14:14:10 +08:00
										 |  |  | #!/bin/sh
 | 
					
						
							|  |  |  | #!/usr/bin/env fish
 | 
					
						
							|  |  |  | echo 'Start building rust sdk' | 
					
						
							|  |  |  | rustup show | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-07-25 11:08:59 +08:00
										 |  |  | #Env check | 
					
						
							|  |  |  | #1. rustc --version will be the same as cargo --version | 
					
						
							|  |  |  | #2. override the toolchain if the current toolchain not equal to the rust-toolchain file specified. | 
					
						
							|  |  |  | #    rustup override set nightly-2021-04-24 | 
					
						
							|  |  |  | #3. Check your cargo env using the same source by: which cargo | 
					
						
							|  |  |  | #   1. ~/.bash_profile, | 
					
						
							|  |  |  | #   2. ~/.bashrc | 
					
						
							|  |  |  | #   3. ~/.profile | 
					
						
							|  |  |  | #   4. ~/.zshrc | 
					
						
							| 
									
										
										
										
											2021-11-04 18:03:36 +08:00
										 |  |  | cargo make --profile development-mac flowy-sdk | 
					
						
							| 
									
										
										
										
											2021-09-05 13:50:23 +08:00
										 |  |  | #cargo make gen_dart_event |