diff options
author | entrpntr <entrpntr@gmail.com> | 2020-05-13 23:14:28 -0400 |
---|---|---|
committer | entrpntr <entrpntr@gmail.com> | 2020-05-13 23:55:40 -0400 |
commit | 18ca6b3ea86e9eb65dd547649a2fcf3f3da28ab7 (patch) | |
tree | 7f12acc7dd15e73aa9ca7628376d18ed97ce4908 /tools | |
parent | 1e17b0a62d1060dda36fe06ab90ebc6e6fbfa104 (diff) |
More cleanup of title screen, update unused sources script.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/unused_sources.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/unused_sources.sh b/tools/unused_sources.sh index 0a3f4ea1..2b8cc59b 100755 --- a/tools/unused_sources.sh +++ b/tools/unused_sources.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Finds asm sources that aren't included in the build +# Finds files that aren't included in the build # top-level sources listed in Makefile toplevel='audio.asm data/text/common.asm data/pokemon/dex_entries.asm wram.asm @@ -12,6 +12,6 @@ for asm in $toplevel; do python tools/scan_includes.py "$asm" echo done | tr ' ' '\n' | sort -u > includes.txt -git ls-files | grep '\.asm$' | sort -u > sources.txt +git ls-files | grep -E '\.(asm|pal|lz|[1,2]bpp|blk|bin|rle|tilemap)$' | sort -u > sources.txt comm -23 sources.txt includes.txt rm sources.txt includes.txt |