diff options
author | entrpntr <entrpntr@gmail.com> | 2020-06-10 20:46:13 -0400 |
---|---|---|
committer | entrpntr <entrpntr@gmail.com> | 2020-06-10 20:47:22 -0400 |
commit | 0c83c0b5bc93d24d34d8acc2e0a8d66ea3075030 (patch) | |
tree | a4180d075ead963461b5b525fe794b43a2101169 /tools/unused_sources.sh | |
parent | 48a9f3aa75f65cd756b8f08290bd290e676cd1a4 (diff) |
rip baserom
Diffstat (limited to 'tools/unused_sources.sh')
-rwxr-xr-x | tools/unused_sources.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/unused_sources.sh b/tools/unused_sources.sh deleted file mode 100755 index b0b9e368..00000000 --- a/tools/unused_sources.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -# 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 -main.asm home.asm gfx/sprites.asm gfx/pics_gold.asm gfx/pics_silver.asm -data/maps/map_data.asm engine/overworld/events.asm rgbdscheck.asm -data/pokemon/egg_moves.asm data/pokemon/evos_attacks.asm gfx/tilesets.asm -engine/movie/credits.asm' - -for asm in $toplevel; do - echo "$asm" - python tools/scan_includes.py "$asm" - echo -done | tr ' ' '\n' | sort -u > includes.txt -git ls-files | grep -E '\.(asm|gbcpal|pal|lz|[1,2]bpp|blk|bin|rle|attrmap|tilemap|dimensions)$' | sort -u > sources.txt -comm -23 sources.txt includes.txt -rm sources.txt includes.txt |