~rabbits/dexe

dexe/build.sh -rwxr-xr-x 415 bytes
ef265a0dneauoire Added themes support a day 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
#!/usr/bin/env bash

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

echo "Assembling.."
uxnasm src/main.tal bin/dexe.rom 

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

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

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