From 95f2e5bbb726534bd511885177db3a4b291b9af6 Mon Sep 17 00:00:00 2001 From: Ethan P Date: Fri, 27 Sep 2019 12:43:11 -0700 Subject: [PATCH] Ensure submodules are updated before creating asset cache --- assets/create.sh | 4 ++++ 1 file changed, 4 insertions(+) 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