2021-03-01 01:40:43 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Rsync repo to build machine; build and scp the ROM back
|
|
|
|
|
|
|
|
set +v
|
|
|
|
set -e
|
2021-03-01 08:59:13 +00:00
|
|
|
git_branch=$(git branch --show-current)
|
2021-03-01 01:40:43 +00:00
|
|
|
git push build --force # ssh://merrbot:/home/ubuntu/pokeemerald
|
2021-03-01 08:59:13 +00:00
|
|
|
ssh merrbot "cd pokeemerald && git reset --hard && git checkout $git_branch && make"
|
2021-03-01 01:40:43 +00:00
|
|
|
scp merrbot:pokeemerald/pokeemerald.gba romhack.gba
|