From 54dd4d13ea80f7348a7834984d93424e678b5bd2 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 31 Jul 2022 21:16:12 -0500 Subject: [PATCH] feat: add script to update submodules --- update-submodules.bash | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 update-submodules.bash diff --git a/update-submodules.bash b/update-submodules.bash new file mode 100755 index 0000000..b1bb4e5 --- /dev/null +++ b/update-submodules.bash @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +if ! command -v git; then + printf "This script requires git, install it to continue\n" >&2 + exit 1 +fi + +git submodule foreach git pull