From: Dylan Lloyd Date: Tue, 12 Sep 2023 20:56:17 +0000 (-0400) Subject: move submodule update functionality back to makefile X-Git-Url: https://disinclined.org/git/?a=commitdiff_plain;h=bb1fd12af3ea07162f28c31d25208f9367404764;p=disinclined.org.git move submodule update functionality back to makefile --- 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)"