From 7d71547b8ec1868fa478dbae4d16a4b5b6809552 Mon Sep 17 00:00:00 2001
From: Orestis Malaspinas <orestis.malaspinas@hesge.ch>
Date: Wed, 25 Nov 2020 08:26:38 +0100
Subject: [PATCH] updated makefile for submodule update

---
 hakyll-bootstrap/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/hakyll-bootstrap/Makefile b/hakyll-bootstrap/Makefile
index 50b5909..4364d17 100644
--- a/hakyll-bootstrap/Makefile
+++ b/hakyll-bootstrap/Makefile
@@ -1,7 +1,7 @@
 watch: build
 	stack exec blog -- watch
 
-deploy: build
+deploy: build update
 	stack exec blog -- deploy
 
 build: Main.hs cours/math_tech_info/*.md cours/isc_physics/*.md
@@ -14,6 +14,10 @@ build: Main.hs cours/math_tech_info/*.md cours/isc_physics/*.md
 
 build_revealjs:
 	cd reveal.js && npm install && npm run build && cd ..
+		
+
+update:
+	git submodule update --recursive --remote
 
 clean:
 	rm -rf _cache _site 
-- 
GitLab