Compare commits

...

2 commits

Author SHA1 Message Date
3186e514e6 Created Update Addons Script
Created script to copy over addons from the submodules folder, to the
addons folder.
2026-03-06 22:42:37 -06:00
85ba302fe0 Updated .gitignore
Added ignore for addons/gdata_orm, as this will be handled by a script
from the submodules folder.
2026-03-06 22:42:10 -06:00
2 changed files with 15 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
# Godot 4+ specific ignores
.godot/
addons/gdata_orm

14
submodules/update_addons.sh Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
for dir in "$SCRIPT_DIR"/*; do
if [ -d "$dir" ]; then
echo Found $dir.
if [ -d "$dir/addons" ]; then
rsync -av $dir/addons $SCRIPT_DIR/../
fi
fi
done
echo "Submodule addons updated."