Simon Gardling 5d153f4842 refactoring
2022-04-21 23:25:33 -04:00

16 lines
367 B
Bash
Executable File

#!/bin/bash
set -e #kill script if error occurs
cargo test-all-features
bash build.sh
echo "rsyncing"
#rsync -av --delete --info=progress2 tmp/ rpi-public:/mnt/hdd/http_share/integral-demo/
rsync -av --delete --info=progress2 --exclude=".git" tmp/ ../titaniumtown.github.io/
rm -fr tmp
cd ../titaniumtown.github.io
git add .
git commit -m "update" | true
git push