#!/usr/bin/bash

# This script updates the live copy on ratfactor.com
# and updates and publishes the hosted repo with RepoRat.

# Copy the program (we'll publish in a moment)
cp hiss.html $HOME/wiki/ratf/src/hiss/

# Ensure the repo is pushed
git push

# Update repo mini-site
# (I normally just run this as 'reporat', but that's my Bash function
# and is not available to subshell scripts!)
$HOME/proj/reporat/reporat.rb $HOME/wiki/ratf/src/repos '../repos.css'

# Publish all changes to ratfactor.com
rat pub
