github.com/marksheahan/packer@v0.10.2-0.20160613200515-1acb2d6645a0/website/Makefile (about) 1 all: build 2 3 init: 4 bundle 5 6 dev: init 7 PACKER_DISABLE_DOWNLOAD_FETCH=true PACKER_VERSION=1.0 bundle exec middleman server 8 9 build: init 10 PACKER_DISABLE_DOWNLOAD_FETCH=true PACKER_VERSION=1.0 bundle exec middleman build 11 12 format: 13 bundle exec htmlbeautifier -t 2 source/*.erb 14 bundle exec htmlbeautifier -t 2 source/layouts/*.erb 15 @pandoc -v > /dev/null || echo "pandoc must be installed in order to format markdown content" 16 pandoc -v > /dev/null && find . -iname "*.html.md" | xargs -I{} bash -c "pandoc -r markdown -w markdown --tab-stop=4 --atx-headers -s --columns=80 {} > {}.new"\; || true 17 pandoc -v > /dev/null && find . -iname "*.html.md" | xargs -I{} bash -c "mv {}.new {}"\; || true