| 
									
										
										
										
											2023-07-03 04:07:11 -10:00
										 |  |  | #!/bin/bash
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Store the current working directory | 
					
						
							|  |  |  | original_dir=$(pwd) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Change the current working directory to the script's location | 
					
						
							|  |  |  | cd "$(dirname "$0")" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Call the script in the 'language_files' folder | 
					
						
							|  |  |  | echo "Generating files using easy_localization" | 
					
						
							|  |  |  | cd language_files | 
					
						
							|  |  |  | # Allow execution permissions on CI | 
					
						
							|  |  |  | chmod +x ./generate_language_files.sh | 
					
						
							|  |  |  | ./generate_language_files.sh "$@" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Return to the main script directory | 
					
						
							|  |  |  | cd .. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Call the script in the 'freezed' folder | 
					
						
							|  |  |  | echo "Generating files using build_runner" | 
					
						
							|  |  |  | cd freezed | 
					
						
							|  |  |  | # Allow execution permissions on CI | 
					
						
							|  |  |  | chmod +x ./generate_freezed.sh | 
					
						
							|  |  |  | ./generate_freezed.sh "$@" | 
					
						
							| 
									
										
										
										
											2023-08-14 13:34:01 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | # Return to the main script directory | 
					
						
							| 
									
										
										
										
											2023-08-03 19:02:44 +07:00
										 |  |  | cd .. | 
					
						
							| 
									
										
										
										
											2023-08-03 08:48:04 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-14 13:34:01 -07:00
										 |  |  | echo "Generating svg files using flowy_svg" | 
					
						
							|  |  |  | cd flowy_icons | 
					
						
							|  |  |  | # Allow execution permissions on CI | 
					
						
							|  |  |  | chmod +x ./generate_flowy_icons.sh | 
					
						
							|  |  |  | ./generate_flowy_icons.sh "$@" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-07-03 04:07:11 -10:00
										 |  |  | # Return to the original directory | 
					
						
							|  |  |  | cd "$original_dir" |