From 6f0dbd6b9f7a02a6029f621ee79120d77a01a118 Mon Sep 17 00:00:00 2001 From: Ivan Ukhov Date: Mon, 15 Jan 2024 15:10:43 +0100 Subject: [PATCH] Update the Makefile --- .gitignore | 2 ++ Makefile | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2574c58..00004c2 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,8 @@ .jekyll-cache .rstudio .sass-cache +/.bundle +/vendor Gemfile.lock _caches _site diff --git a/Makefile b/Makefile index 82f1e88..94dbf77 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,18 @@ +.PHONY: all all: serve +.PHONY: build build: JEKYLL_ENV=production bundle exec jekyll build cp CNAME _site +.PHONY: compile compile: inotifywait -e close_write,moved_to,create -m _drafts | \ while read -r directory events filename; do \ ./_scripts/compile.R; \ done +.PHONY: serve serve: bundle exec jekyll serve --drafts - -.PHONY: all build compile serve