23 lines
		
	
	
	
		
			374 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			374 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| set -exuo pipefail
 | |
| . make/lib.sh
 | |
| 
 | |
| gimli_only
 | |
| only_in_directory "$TESTWEB"
 | |
| 
 | |
| CURRENT_BRANCH="$(git branch --show-current)"
 | |
| BRANCH="${1:-$CURRENT_BRANCH}"
 | |
| 
 | |
| safe_checkout_branch "$BRANCH"
 | |
| 
 | |
| # Teď máme správnou větev, jdeme vše nainstalovat
 | |
| install_everything
 | |
| systemctl --user restart mamweb-test.service
 | |
| 
 | |
| # Build dokumentace
 | |
| ensure_venv
 | |
| (
 | |
| 	cd docs
 | |
| 	make html
 | |
| )
 | 
