From 8ad116422a84a4dbe635ef20a2e91eb7e2e35a99 Mon Sep 17 00:00:00 2001 From: Erik Osterman Date: Sun, 6 May 2018 11:33:26 -0700 Subject: [PATCH] add htmltest (#8) --- install/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/install/Makefile b/install/Makefile index 6681ff80bc..b9acde1c4b 100644 --- a/install/Makefile +++ b/install/Makefile @@ -16,6 +16,7 @@ all: aws-vault \ goofys \ helm \ helmfile \ + htmltest \ kops \ kubectl \ kubectx \ @@ -71,6 +72,22 @@ export HELMFILE_VERSION ?= 0.13.0 helmfile: $(call github_download_binary_release,$(HELMFILE_VENDOR),v$(HELMFILE_VERSION),$@_$(OS)_$(ARCH)) +export HTMLTEST_VERSION ?= 0.9.1 +## Install htmltest (darwin) +htmltest-darwin: + mkdir -p $(TMP)/$@ + $(CURL) -o - https://github.com/wjdp/htmltest/releases/download/v$(HTMLTEST_VERSION)/htmltest_$(HTMLTEST_VERSION)_osx_$(ARCH).tar.gz | tar -C $(INSTALL_PATH) -zx htmltest + chmod +x $(INSTALL_PATH)/htmltest + +## Install htmltest (linux) +htmltest-linux: + $(CURL) -o - https://github.com/wjdp/htmltest/releases/download/v$(HTMLTEST_VERSION)/htmltest_$(HTMLTEST_VERSION)_$(OS)_$(ARCH).tar.gz | tar -C $(INSTALL_PATH) -zx htmltest + chmod +x $(INSTALL_PATH)/htmltest + +## Install htmltest +htmltest: htmltest-$(OS) + @exit 0 + ## Install hugo framework for building static websites (darwin) hugo-darwin: $(CURL) -o - https://github.com/gohugoio/hugo/releases/download/v$(HUGO_VERSION)/hugo_$(HUGO_VERSION)_macOS-64bit.tar.gz | tar -zxO hugo > $(INSTALL_PATH)/hugo