1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 23:10:26 +00:00
hyperrogue/hyperroid/copy.sh

20 lines
569 B
Bash
Raw Normal View History

2017-03-23 12:54:10 +00:00
#!/bin/sh
2018-06-07 17:51:14 +00:00
mkdir -p app/src/main/assets/sounds
2017-03-23 12:54:10 +00:00
cp ../sounds/* app/src/main/assets/sounds/
cp ../honeycomb-rules-*.txt app/src/main/assets/
2018-06-07 17:51:14 +00:00
mkdir -p app/src/main/res/raw/
2018-06-14 22:03:05 +00:00
2017-03-31 20:10:05 +00:00
#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
2018-06-14 22:03:05 +00:00
2020-10-05 19:15:38 +00:00
# make sure autohdr.h is generated
# language-data.cpp is a make dependency of autohdr.h, so it's generated as well
if [ ! -f ../autohdr.h ]; then
echo "generating autohdr.h..."
2020-10-08 19:21:34 +00:00
LAST_PWD=$(pwd); cd ..
make autohdr.h
2020-10-08 19:21:34 +00:00
cd $LAST_PWD
2018-06-14 22:03:05 +00:00
fi
2020-10-05 19:15:38 +00:00