summaryrefslogtreecommitdiffstats
path: root/assets/create.sh
diff options
context:
space:
mode:
authorEthan P <eth-p+git@hidden.email>2019-09-27 12:43:11 -0700
committerDavid Peter <sharkdp@users.noreply.github.com>2019-10-10 23:49:39 +0200
commit95f2e5bbb726534bd511885177db3a4b291b9af6 (patch)
treed0595e7b2aa76f7d308cbee1d2e4ce20e35232ed /assets/create.sh
parentf46123e1493e1ea488072d47a914f8a0c696326f (diff)
Ensure submodules are updated before creating asset cache
Diffstat (limited to 'assets/create.sh')
-rwxr-xr-xassets/create.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/assets/create.sh b/assets/create.sh
index 602069f6..d95ffa31 100755
--- a/assets/create.sh
+++ b/assets/create.sh
@@ -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