1 #!/usr/bin/bash
     
2 
     3 # This script updates the live copy on ratfactor.com
     
4 # and updates and publishes the hosted repo with RepoRat.
     
5 
     6 # Copy the program (we'll publish in a moment)
     
7 cp hiss.html $HOME/wiki/ratf/src/hiss/
     
8 
     9 # Ensure the repo is pushed
    
10 git push
    
11 
    12 # Update repo mini-site
    
13 # (I normally just run this as 'reporat', but that's my Bash function
    
14 # and is not available to subshell scripts!)
    
15 $HOME/proj/reporat/reporat.rb $HOME/wiki/ratf/src/repos '../repos.css'
    
16 
    17 # Publish all changes to ratfactor.com
    
18 rat pub