Ensure submodules are updated before creating asset cache

This commit is contained in:
Ethan P 2019-09-27 12:43:11 -07:00 committed by David Peter
parent f46123e149
commit 95f2e5bbb7
1 changed files with 4 additions and 0 deletions

4
assets/create.sh vendored
View File

@ -3,6 +3,10 @@ set -euo pipefail
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
bat cache --clear