diff options
author | Alexandre Garand <alexandre.garand@fretlink.com> | 2019-07-08 15:46:38 +0200 |
---|---|---|
committer | Alexandre Garand <alexandre.garand@fretlink.com> | 2019-07-08 15:46:38 +0200 |
commit | 7cbb92efb5e84de877976830ee04798c1cc808b8 (patch) | |
tree | 1fabf4292da3affee1962c81548577d5f9a5ab36 | |
parent | fc1c929695342e03fa7f3261114137328365005d (diff) | |
download | terraform-provider-mailgun-7cbb92efb5e84de877976830ee04798c1cc808b8.tar.gz terraform-provider-mailgun-7cbb92efb5e84de877976830ee04798c1cc808b8.tar.zst terraform-provider-mailgun-7cbb92efb5e84de877976830ee04798c1cc808b8.zip |
add newline and commentary for clarity
-rw-r--r-- | GNUmakefile | 1 | ||||
-rwxr-xr-x | scripts/launch-website.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index e31a939..c88972d 100644 --- a/GNUmakefile +++ b/GNUmakefile | |||
@@ -48,6 +48,7 @@ test-compile: | |||
48 | 48 | ||
49 | website-githubpages: | 49 | website-githubpages: |
50 | bash scripts/launch-website.sh | 50 | bash scripts/launch-website.sh |
51 | |||
51 | website: | 52 | website: |
52 | ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO))) | 53 | ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO))) |
53 | echo "$(WEBSITE_REPO) not found in your GOPATH (necessary for layouts and assets), get-ting..." | 54 | 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 @@ | |||
1 | #!/usr/bin/env bash | 1 | #!/usr/bin/env bash |
2 | 2 | ||
3 | #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 | ||
3 | (sleep 10; | 4 | (sleep 10; |
4 | wget --recursive --no-parent --domains localhost --page-requisites --html-extension --convert-links --no-clobber http://localhost:4567/docs/providers/mailgun/; | 5 | wget --recursive --no-parent --domains localhost --page-requisites --html-extension --convert-links --no-clobber http://localhost:4567/docs/providers/mailgun/; |
5 | 6 | ||