mirror of
https://github.com/sharkdp/bat.git
synced 2025-04-25 03:58:22 +02:00
Ensure submodules are updated before creating asset cache
This commit is contained in:
parent
f46123e149
commit
95f2e5bbb7
@ -3,6 +3,10 @@ set -euo pipefail
|
|||||||
|
|
||||||
ASSET_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
ASSET_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
|
# Ensure submodules are initialized.
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
|
||||||
# Always remove the local cache to avoid any confusion
|
# Always remove the local cache to avoid any confusion
|
||||||
bat cache --clear
|
bat cache --clear
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user