From cb5ba1429dd40a7f94239c8c68a5a95fdd796bff Mon Sep 17 00:00:00 2001 From: Dan Jones Date: Thu, 20 Feb 2020 16:48:05 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=20Ensure=20local=20yml=20always=20?= =?UTF-8?q?exists?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2656541..28daa7b 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,10 @@ all: serve build-image: docker build -t $(IMAGE) . -_site/index.html: build-image +_config.local.yml: + touch $@ + +_site/index.html: build-image _config.local.yml docker run -u $(shell id -u) --rm -v $(shell pwd):/app -w /app $(IMAGE) bundle exec jekyll build -c '_config.yml,_config.local.yml' serve: _site/index.html