move submodule update functionality back to makefile
authorDylan Lloyd <dylan@disinclined.org>
Tue, 12 Sep 2023 20:56:17 +0000 (16:56 -0400)
committerDylan Lloyd <dylan@disinclined.org>
Tue, 12 Sep 2023 20:56:17 +0000 (16:56 -0400)
Makefile
update-submodules.sh [deleted file]

index 325500c..00e4e41 100644 (file)
--- 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 (executable)
index cff896c..0000000
+++ /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)"