From c42e7cfe414b6c18ed2395c1f962bc37a2382880 Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Wed, 22 Jul 2015 19:41:42 -0700 Subject: [PATCH] Added note about installing pandoc if we can't find it --- website/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/Makefile b/website/Makefile index 1cc81038c..604e9c628 100644 --- a/website/Makefile +++ b/website/Makefile @@ -12,6 +12,6 @@ build: init format: bundle exec htmlbeautifier -t 2 source/*.erb bundle exec htmlbeautifier -t 2 source/layouts/*.erb + @pandoc -v > /dev/null || echo "pandoc must be installed in order to format markdown content" pandoc -v > /dev/null && find . -iname "*.html.markdown" | xargs -I{} bash -c "pandoc -r markdown -w markdown --tab-stop=2 --atx-headers -s --columns=80 {} > {}.new"\; || true pandoc -v > /dev/null && find . -iname "*.html.markdown" | xargs -I{} bash -c "mv {}.new {}"\; || true -