From bb1fd12af3ea07162f28c31d25208f9367404764 Mon Sep 17 00:00:00 2001 From: Dylan Lloyd Date: Tue, 12 Sep 2023 16:56:17 -0400 Subject: [PATCH] move submodule update functionality back to makefile --- Makefile | 6 +++++- update-submodules.sh | 7 ------- 2 files changed, 5 insertions(+), 8 deletions(-) delete mode 100755 update-submodules.sh diff --git a/Makefile b/Makefile index 325500c..00e4e41 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,12 @@ all: update build sitename = disinclined.org hostname = disinclined.org +.ONESHELL: update: - ./update-submodules.sh + eval "$$(ssh-agent -s)" + ssh-add ~/.ssh/id_rsa + git submodule update --remote + eval "$$(ssh-agent -k)" build site: cp resume/resume.{pdf,html} . diff --git a/update-submodules.sh b/update-submodules.sh deleted file mode 100755 index cff896c..0000000 --- a/update-submodules.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - - -eval "$(ssh-agent -s)" -ssh-add ~/.ssh/id_rsa -git submodule update --remote -eval "$(ssh-agent -k)" -- 2.30.2