Skip to content

Commit f1037c0

Browse files
committed
Add makefile
1 parent 72525f6 commit f1037c0

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ trim_trailing_whitespace = true
1212

1313
[*.md]
1414
trim_trailing_whitespace = false
15+
16+
[Makefile]
17+
indent_style = tab
18+
indent_size = 4

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ source "https://rubygems.org"
22

33
gem "github-pages", group: :jekyll_plugins
44
gem "minima"
5+
6+
gem "jekyll"
7+
gem "bundler"

Makefile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Default target
2+
all: install build
3+
4+
# Install dependencies
5+
install:
6+
bundle install --path "vendor/bundle"
7+
8+
# Build the site
9+
build:
10+
bundle exec jekyll build
11+
12+
# Serve the site locally
13+
serve:
14+
bundle exec jekyll serve --watch
15+
16+
# Clean the site
17+
clean:
18+
bundle exec jekyll clean

0 commit comments

Comments
 (0)