forked from theowenyoung/clip-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
48 lines (39 loc) · 1.02 KB
/
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
ifneq (,$(wildcard ./.env))
include .env
export
endif
.Phony: install
install:
./scripts/install_mdbook.sh
.Phony: serve
serve:
./bin/deno run --no-lock -A cli.ts --serve
.Phony: build
build:
./bin/deno run --no-lock -A ./cli.ts
# The following targets are for building the daily epub, or the weekly epub, or send mail.
# If you only want to build the site, you can ignore them.
.Phony: today
today:
./bin/deno run --no-lock -A ./cli.ts --today
.Phony: yesterday
yesterday:
./bin/deno run --no-lock -A ./cli.ts --yesterday
.Phony: yesterdaymail
yesterdaymail:
./bin/deno run --no-lock -A ./cli.ts --yesterday --mail
.Phony: lastweek
lastweek:
./bin/deno run --no-lock -A ./cli.ts --lastweek
.Phony: thisweek
thisweek:
./bin/deno run --no-lock -A ./cli.ts --thisweek
.Phony: servethisweek
servethisweek:
./bin/deno run --no-lock -A ./cli.ts --serve --thisweek
.Phony: day
day:
./bin/deno run --no-lock -A ./cli.ts --day=$(day)
.Phony: serveday
serveday:
./bin/deno run --no-lock -A ./cli.ts --serve --day=$(day)