Files
Paradise/tools/ci/generate_maplist.sh
T
AffectedArc07andGitHub 841f56fe83 Migrates from Travis CI To Actions (#14958)
* Migrates from Travis CI To Actions

First hitch

Surprise surprise NanoUI is the issue

...

Please work

Final Commit

* Undoes an oops
2020-11-21 09:08:50 -07:00

10 lines
372 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
# This script loops through every subdir here to generate a list of all maps programatically to avoid the list getting out of date
cd _maps
find | grep -Ei ".dmm" | grep -v -e ".before" -e ".backup" > ci_map_testing.dm
sed -i -e 's/.*/#include \"&\"/' ci_map_testing.dm
echo "Generated map compile file with `wc -l ci_map_testing.dm` maps"