Skip to content

Commit

Permalink
Merge pull request #10 from NatProgramer/main
Browse files Browse the repository at this point in the history
chore: Add extra themes repository to the sync bat script
  • Loading branch information
SergioRibera authored May 23, 2024
2 parents a078110 + 3d9f933 commit a2def44
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions assets/sync_from_bat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@ if [[ -d ../../bat ]]; then
git -C ../../bat pull
else
git clone --depth 1 --recurse-submodules https://github.com/sharkdp/bat ../../bat
if [[ -d ../../bat_themes ]]; then
git -C ../../bat_themes pull
else
git clone --depth 1 --recurse-submodules https://github.com/NatProgramer/bat_themes ../../bat_themes
fi
fi

rm -rf ./syntaxes/* ./themes/*
cp -r ../../bat/assets/syntaxes/* ./syntaxes/
cp -r ../../bat/assets/themes/* ./themes/
cp -r ../../bat_themes/themes/* ./themes

cargo run -p sss_code -- --build-cache . -o .

Expand Down
Binary file modified assets/syntaxes.bin
Binary file not shown.
Binary file modified assets/themes.bin
Binary file not shown.

0 comments on commit a2def44

Please sign in to comment.