github.com/ferranbt/nomad@v0.9.3-0.20190607002617-85c449b7667c/website/Makefile (about) 1 VERSION?="0.3.39" 2 3 build: 4 @echo "==> Starting build in Docker..." 5 @docker run \ 6 --interactive \ 7 --rm \ 8 --tty \ 9 --volume "$(shell pwd):/website" \ 10 -e "ENV=production" \ 11 hashicorp/middleman-hashicorp:${VERSION} \ 12 bundle exec middleman build --verbose --clean 13 14 website: 15 @echo "==> Starting website in Docker..." 16 @docker run \ 17 --interactive \ 18 --rm \ 19 --tty \ 20 --publish "4567:4567" \ 21 --publish "35729:35729" \ 22 --volume "$(shell pwd):/website" \ 23 hashicorp/middleman-hashicorp:${VERSION} 24 25 test: 26 @echo "==> Running website tests..." 27 ./scripts/test.sh ${VERSION} 28 29 .PHONY: build website