1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-16 10:14:48 +00:00
hyperrogue/hyperroid/copy.sh
2018-06-15 00:03:05 +02:00

19 lines
563 B
Bash
Executable File

#!/bin/sh
mkdir -p app/src/main/assets/sounds
cp ../sounds/* app/src/main/assets/sounds/
mkdir -p app/src/main/res/raw/
#for x in caves crossroads desert graveyard hell icyland jungle laboratory mirror rlyeh
#do cp ../music/hr3-$x.ogg app/src/main/res/raw/$x.ogg
#done
# make sure that language-data.cpp is generated
if [ ! -f ../language-data.cpp ]; then
echo "File language-data.cpp not found! Trying to compile and run langen"
cd ..
g++ langen.cpp -o langen
./langen > language-data.cpp
ls -l langen language-data.cpp
cd hyperroid
fi