-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (21 loc) · 743 Bytes
/
Makefile
File metadata and controls
29 lines (21 loc) · 743 Bytes
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
.PHONY: help serve server build clean install test
BUNDLE := /opt/homebrew/opt/ruby/bin/bundle
help:
@echo "Available commands:"
@echo " make serve - Serve the site locally with live reload"
@echo " make server - Serve the site locally (alias for serve)"
@echo " make build - Build the site for production"
@echo " make clean - Clean build artifacts"
@echo " make install - Install Jekyll dependencies"
@echo " make test - Serve site locally (alias for serve)"
serve:
$(BUNDLE) exec jekyll serve --livereload
server: serve
build:
$(BUNDLE) exec jekyll build
clean:
rm -rf _site .jekyll-cache .jekyll-metadata
install:
gem install jekyll bundler
bundle install
test: serve