From 4c6f3cc55650efb8f4df2830db06cc213914b596 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 20 Jul 2017 08:50:32 +0100 Subject: [PATCH] Add script to download pandoc binaries --- .gitignore | 2 ++ scripts/install-deps.sh | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 scripts/install-deps.sh diff --git a/.gitignore b/.gitignore index 2ebf9ce..5c77e36 100644 --- a/.gitignore +++ b/.gitignore @@ -110,3 +110,5 @@ fabric.properties **/*.rs.bk # End of https://www.gitignore.io/api/rust,intellij,jetbrains + +lib/ diff --git a/scripts/install-deps.sh b/scripts/install-deps.sh new file mode 100644 index 0000000..8365149 --- /dev/null +++ b/scripts/install-deps.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +set -e + +mkdir -p lib/ +cd lib/ + +echo "> Downloading Pandoc..." +wget https://github.com/jgm/pandoc/releases/download/1.19.2.1/pandoc-1.19.2.1-1-amd64.deb +ar p pandoc-1.19.2.1-1-amd64.deb data.tar.gz | tar xz --strip-components 2 -C . +mv bin/* . +rm -r bin/ share/ pandoc-1.19.2.1-1-amd64.deb