Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tweaked the compile_branch.sh to allow for parallel lore repo instead… #6

Open
wants to merge 1 commit into
base: moon-add-local-compile
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions scripts/ai/compile_branch.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ echo "Checking if lore folder exists... you will need access to webaverse/lore f

# if it doesn't, clone it
# if it does, reset and pull it
if [ ! -d "lore" ]; then
if [ ! -d "../../../lore" ]; then
git clone https://github.com/webaverse/lore
cd lore
else
cd lore
cd ../../../lore
git reset --hard
git pull
fi
Expand All @@ -25,8 +25,8 @@ branch=$1
# checkout branch
git checkout $branch

cd ..
cd ../wiki/scripts/ai/

node format-training-data-local.js ./lore/datasets
node format-training-data-local.js ../../../lore/datasets

echo "Done!"
echo "Done!"