-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (22 loc) · 1.05 KB
/
Makefile
File metadata and controls
33 lines (22 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
default: serve
serve: ## Запустить dev-сервер с livereload
bundle exec jekyll serve --livereload
serve-prod: ## Запустить сервер в production-режиме
JEKYLL_ENV=production bundle exec jekyll serve
build: ## Собрать сайт
bundle exec jekyll build
clean: ## Очистить build-артефакты
bundle exec jekyll clean
check: ## Проверить конфигурацию Jekyll
bundle exec jekyll doctor
install: ## Установить зависимости
bundle install
versions: ## Показать версии GitHub Pages
bundle exec github-pages versions
health: ## Проверить health GitHub Pages
bundle exec github-pages health-check
open: ## Открыть сайт в браузере
open http://localhost:4000
help: ## Показать список доступных команд
@awk 'BEGIN {FS=":.*##"} /^[a-zA-Z0-9_-]+:.*##/ {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
.PHONY: default serve serve-prod build clean check install versions health open help