From 7cbb92efb5e84de877976830ee04798c1cc808b8 Mon Sep 17 00:00:00 2001 From: Alexandre Garand Date: Mon, 8 Jul 2019 15:46:38 +0200 Subject: add newline and commentary for clarity --- GNUmakefile | 1 + scripts/launch-website.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/GNUmakefile b/GNUmakefile index e31a939..c88972d 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -48,6 +48,7 @@ test-compile: website-githubpages: bash scripts/launch-website.sh + website: ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO))) echo "$(WEBSITE_REPO) not found in your GOPATH (necessary for layouts and assets), get-ting..." diff --git a/scripts/launch-website.sh b/scripts/launch-website.sh index a636565..ec9e92c 100755 --- a/scripts/launch-website.sh +++ b/scripts/launch-website.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash +#the sleep and the subquery & are here to ensure that wget is called after make website have done its work so that the website is gotten correctly (sleep 10; wget --recursive --no-parent --domains localhost --page-requisites --html-extension --convert-links --no-clobber http://localhost:4567/docs/providers/mailgun/; -- cgit v1.2.3