-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
54 lines (41 loc) · 899 Bytes
/
Makefile
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
.DEFAULT: build
.PHONY: build
build:
bundle exec jekyll build
.PHONY: install
install:
bundle install
yarn install --modules-folder yarn_deps
.PHONY: update-all
update-all: update-bundle update-yarn
.PHONY: update-bundle
update-bundle:
bundle update --all
bundle update --bundler
.PHONY: update-yarn
update-yarn:
yarn upgrade --latest --modules-folder yarn_deps
.PHONY: watch
watch:
bundle exec jekyll build --watch
.PHONY: incr
incr:
bundle exec jekyll build --watch --incremental
.PHONY: future
future:
bundle exec jekyll build --watch --future
.PHONY: draft
draft:
bundle exec jekyll build --watch --future --drafts
.PHONY: serve
serve:
bundle exec jekyll serve
.PHONY: serve-all
serve-all:
bundle exec jekyll serve --future --drafts
.PHONY: new-issue
new-issue:
./scripts/new_post.rb $(volume) $(issue) $(date)
.PHONY: image
image:
./scripts/optimize-image.sh $(file)