rathena/tools/ci/npc.sh
Lemongrass3110 b3cfd12228 Added the custom and test scripts to the buildbot (#2658)
* Added the custom and test scripts to the buildbot

All scripts inside the custom and test npc directory are now parsed and executed automatically by the buildbot.
The only exceptions are the custom battleground scripts that would cause duplication warnings.

Thanks to @Jeybla for the Unix script!
2017-12-01 12:50:34 -05:00

13 lines
317 B
Bash
Executable File

#!/usr/bin/env bash
out=npc/scripts_custom.conf
printf "\n" >> $out
echo "// Custom Scripts" >> $out
find npc/custom \( -name "*.txt" -and -not -wholename "*/battleground/*" \) | xargs -I % echo "npc: %" >> $out
echo "// Test Scripts" >> $out
find npc/test \( -name "*.txt" \) | xargs -I % echo "npc: %" >> $out