Add make target to download asciinema
This commit is contained in:
		
							
								
								
									
										6
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
									
									
									
									
								
							@@ -1,9 +1,15 @@
 | 
			
		||||
ASCIINEMA_VERSION=3.5.0
 | 
			
		||||
 | 
			
		||||
.PHONY: update-bootstrap
 | 
			
		||||
update-bootstrap:
 | 
			
		||||
	curl -L "https://cdn.jsdelivr.net/npm/bootstrap@5/dist/css/bootstrap.min.css" -o static/assets/bootstrap.min.css
 | 
			
		||||
	curl -L "https://cdn.jsdelivr.net/npm/bootstrap@5/dist/js/bootstrap.min.js" -o static/assets/bootstrap.min.js
 | 
			
		||||
 | 
			
		||||
.PHONY: update-asciinema
 | 
			
		||||
update-asciinema:
 | 
			
		||||
	curl -L "https://github.com/asciinema/asciinema-player/releases/download/v$(ASCIINEMA_VERSION)/asciinema-player.css" -o static/assets/asciinema-player.css
 | 
			
		||||
	curl -L "https://github.com/asciinema/asciinema-player/releases/download/v$(ASCIINEMA_VERSION)/asciinema-player.min.js" -o static/assets/asciinema-player.min.js
 | 
			
		||||
 | 
			
		||||
.PHONY: deploy
 | 
			
		||||
deploy:
 | 
			
		||||
	rsync -av public desk:/var/www/balki.me
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2703
									
								
								static/assets/asciinema-player.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2703
									
								
								static/assets/asciinema-player.css
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1
									
								
								static/assets/asciinema-player.min.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								static/assets/asciinema-player.min.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Reference in New Issue
	
	Block a user