Skip to content

Commit

Permalink
Add debug argument to bash script
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Nov 29, 2024
1 parent f79289f commit 77fd431
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runParser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ fi
parserScriptPath="$1" # Path to parser.py
htmlParentDirectory="$2" # Path to ElunaLuaEngine.github.io repository
outputDirectory="$3" # Path to output directory
debug="${4:-false}"

# Define the list of subdirectories to process
subdirectories=("Aura" "BattleGround" "Corpse" "Creature" "ElunaQuery" "GameObject" "Group" "Guild" "Global" "Item" "Map" "Object" "Player" "Quest" "Spell" "Unit" "Vehicle" "WorldObject" "WorldPacket")

# Iterate over each subdirectory
for subdir in "${subdirectories[@]}"; do
htmlDirectory="${htmlParentDirectory}/${subdir}"
python3 "$parserScriptPath" "$htmlDirectory" "$outputDirectory"
python3 "$parserScriptPath" "$htmlDirectory" "$outputDirectory" "$debug"
done

0 comments on commit 77fd431

Please sign in to comment.