You've already forked no-js-hugo-theme
							
							add Makefile to update asciinema
This commit is contained in:
		
							
								
								
									
										6
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
ASCIINEMA_VERSION=3.9.0
 | 
			
		||||
 | 
			
		||||
.PHONY: update-asciinema
 | 
			
		||||
update-asciinema:
 | 
			
		||||
	curl -L "https://github.com/asciinema/asciinema-player/releases/download/v$(ASCIINEMA_VERSION)/asciinema-player.css" -o assets/vendor/asciinema/asciinema-player.css
 | 
			
		||||
	curl -L "https://github.com/asciinema/asciinema-player/releases/download/v$(ASCIINEMA_VERSION)/asciinema-player.min.js" -o assets/vendor/asciinema/asciinema-player.min.js
 | 
			
		||||
		Reference in New Issue
	
	Block a user