mirror of
				https://github.com/TheLocehiliosan/yadm
				synced 2025-06-13 13:03:58 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			489 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			489 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
set -e
 | 
						|
 | 
						|
msg() {
 | 
						|
  echo -e "\e[1;32m$*\e[0m"
 | 
						|
}
 | 
						|
 | 
						|
find . -name \*.yml -print0 | xargs -0 yamllint -s
 | 
						|
msg Success: yamllint passed
 | 
						|
 | 
						|
jekyll build -t --config _config.yml,_dev.yml
 | 
						|
msg Success: Built jekyll site
 | 
						|
 | 
						|
jekyll serve --skip-initial-build --detach
 | 
						|
msg Success: Serving jekyll site locally
 | 
						|
 | 
						|
/usr/gem/bin/htmlproofer \
 | 
						|
  --assume-extension \
 | 
						|
  --log-level=debug \
 | 
						|
  --http-status-ignore 429 \
 | 
						|
  --url-ignore /twitter.com/ \
 | 
						|
  _site
 | 
						|
msg Success: Validated site with html-proofer
 |