From 5fa6e3c076a9491953053922b6003de5ffd92423 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sat, 25 Jan 2025 19:28:45 +0100 Subject: enable incremental builds --- makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'makefile') diff --git a/makefile b/makefile index 053c267..b35abcd 100644 --- a/makefile +++ b/makefile @@ -8,6 +8,11 @@ WEBROOT ?= _site JEKYLL_BUILD_ARGS += --quiet JEKYLL_BUILD_ARGS += --destination $(WEBROOT) +ifeq "development" "$(JEKYLL_ENV)" +ifeq "" "$(findstring B,$(MAKEFLAGS))" +JEKYLL_BUILD_ARGS += --incremental +endif +endif # Gemfile.lock is used as a proxy for checking if the required gems are # installed -- cgit v1.2.3