From aaab755a875e04154f292ca7d56a079218e15262 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 28 Nov 2023 08:54:43 -1000 Subject: [PATCH] workaround for pandoc not being present in Cloudflare Pages platform V2 part 8 --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e5bd653..7fa1ae7 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,15 @@ -all: pandoc html +all: pandoc html pandoc-remove # XXX temporary workaround for pandoc not being present in Cloudflare Pages platform V2 # pandoc --version || sudo apt install -y pandoc pandoc: pandoc --version || \ wget https://github.com/jgm/pandoc/releases/download/3.1.9/pandoc-3.1.9-linux-amd64.tar.gz && \ - tar xzf pandoc-3.1.9-linux-amd64.tar.gz && \ - rm -rf pandoc-3.1.9* + tar xzf pandoc-3.1.9-linux-amd64.tar.gz + +# Too large, cloudflare won't deploy +pandoc-remove: + rm -rf pandoc-3.1.9* #PANDOC=pandoc PANDOC=pandoc-3.1.9/bin/pandoc \