Skip to content

Commit

Permalink
add htmltest (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman authored May 6, 2018
1 parent 92e2c36 commit 8ad1164
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions install/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ all: aws-vault \
goofys \
helm \
helmfile \
htmltest \
kops \
kubectl \
kubectx \
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8ad1164

Please sign in to comment.