Updated README.md and make extract.sh remove asset folder if it exists.

This commit is contained in:
David Benepe
2020-06-28 21:11:09 -05:00
parent 15d5b33988
commit 7e51b0987f
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ There are some useful scripts that should be kept in mind when working on this r
#### `./generate_ld.sh`
This script will generate the linker file `dkr.ld`, which is used for building. You will need to call this when you add or remove files from the `/asm/` directory.
This script will generate the linker file `dkr.ld`, which is used for building. You will need to call this when you add or remove files from the `/asm/` or `/src/` directories.
---
+7
View File
@@ -1,4 +1,11 @@
echo 'Extracting Assets...'
# Remove assets directory if it exists.
ASSETS_DIR="./assets/"
if [ -d "$ASSETS_DIR" ]; then
rm -r $ASSETS_DIR
fi
if ! ./tools/dkr_extractor ./extract-ver ./baseroms .; then
exit 1
fi