~rabbits/orca-toy

ref: 89549efdca6cd15fc696247879748a2390597160 orca-toy/build.sh -rwxr-xr-x 408 bytes
89549efdneauoire Fixed path in CI 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh -e

echo "Cleaning.."
rm -rf bin
mkdir bin

echo "Assembling.."
uxnasm src/orca.tal bin/orca.rom 

echo "Installing.."
if [ -d "$HOME/roms" ] && [ -e ./bin/orca.rom ]
then
	cp ./bin/orca.rom $HOME/roms
    echo "Installed in $HOME/roms" 
fi

if [ "${1}" = '--push' ]; 
then
	echo "Pushing.."
	~/Applications/butler push bin/orca.rom hundredrabbits/orca:uxn
fi

echo "Running.."
uxnemu bin/orca.rom