deploy android builds
This commit is contained in:
		
							parent
							
								
									d731de2195
								
							
						
					
					
						commit
						95c7976f14
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		
							
								
								
									
										6
									
								
								justfile
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								justfile
									
										
									
									
									
								
							| 
						 | 
					@ -3,13 +3,17 @@
 | 
				
			||||||
src_dir := "$PWD"
 | 
					src_dir := "$PWD"
 | 
				
			||||||
build_dir := "$PWD/build"
 | 
					build_dir := "$PWD/build"
 | 
				
			||||||
itchio := "damantisshrimp/taqin"
 | 
					itchio := "damantisshrimp/taqin"
 | 
				
			||||||
 | 
					apk := build_dir + "/android/Taqin.apk"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
edit:
 | 
					edit:
 | 
				
			||||||
	godot --editor --quiet &
 | 
						godot --editor --quiet &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export-android:
 | 
					export-android:
 | 
				
			||||||
	mkdir -p {{build_dir}}/android
 | 
						mkdir -p {{build_dir}}/android
 | 
				
			||||||
	godot --export "Android" {{build_dir}}/android
 | 
						godot --quit --export "Android" {{apk}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					deploy-android: export-android
 | 
				
			||||||
 | 
						butler push {{apk}} {{itchio}}:android
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export-html:
 | 
					export-html:
 | 
				
			||||||
	mkdir -p {{build_dir}}/html
 | 
						mkdir -p {{build_dir}}/html
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue