2017-04-10 22:12:09 +00:00
|
|
|
.PHONY: all build build-preview help serve
|
2016-09-07 23:37:43 +00:00
|
|
|
|
|
|
|
help: ## Show this help.
|
|
|
|
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
|
|
|
|
|
|
|
|
all: build ## Build site with production settings and put deliverables in _site.
|
|
|
|
|
|
|
|
build: ## Build site with production settings and put deliverables in _site.
|
|
|
|
jekyll build
|
|
|
|
|
|
|
|
build-preview: ## Build site with drafts and future posts enabled.
|
|
|
|
jekyll build --drafts --future
|
|
|
|
|
|
|
|
serve: ## Boot the development server.
|
|
|
|
jekyll serve
|
2017-08-06 04:11:12 +00:00
|
|
|
|
|
|
|
stage: ## Run the Jekyll staging container.
|
2017-08-24 17:51:59 +00:00
|
|
|
docker run -ti --rm -v "${PWD}":/k8sdocs -p 4000:4000 gcr.io/google-samples/k8sdocs:1.1
|