workaround for pandoc not being present in Cloudflare Pages platform V2 part 8
This commit is contained in:
9
Makefile
9
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
|
# XXX temporary workaround for pandoc not being present in Cloudflare Pages platform V2
|
||||||
# pandoc --version || sudo apt install -y pandoc
|
# pandoc --version || sudo apt install -y pandoc
|
||||||
pandoc:
|
pandoc:
|
||||||
pandoc --version || \
|
pandoc --version || \
|
||||||
wget https://github.com/jgm/pandoc/releases/download/3.1.9/pandoc-3.1.9-linux-amd64.tar.gz && \
|
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 && \
|
tar xzf pandoc-3.1.9-linux-amd64.tar.gz
|
||||||
rm -rf pandoc-3.1.9*
|
|
||||||
|
# Too large, cloudflare won't deploy
|
||||||
|
pandoc-remove:
|
||||||
|
rm -rf pandoc-3.1.9*
|
||||||
|
|
||||||
#PANDOC=pandoc
|
#PANDOC=pandoc
|
||||||
PANDOC=pandoc-3.1.9/bin/pandoc \
|
PANDOC=pandoc-3.1.9/bin/pandoc \
|
||||||
|
|||||||
Reference in New Issue
Block a user