-
Notifications
You must be signed in to change notification settings - Fork 30
/
Makefile
49 lines (33 loc) · 963 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
.PHONY: all build
all: test build
mirror: test build-mirror
test:
deno test --unstable --allow-read utils/test.js
link-check:
lychee spec/**/*.yaml
format:
deno fmt utils/*.js data/*/events/*/*.js README.md
fmt: format
build:
deno --version
deno run --unstable --allow-read --allow-write utils/build.js tag=$(tag)
build-mirror:
deno run --unstable --allow-read --allow-write utils/mirror.js
sync:
deno run --unstable --allow-read --allow-write --allow-net utils/sync.js $(event)
imgs:
deno run --unstable --allow-read --allow-write --allow-run utils/imgs.js $(event)
tag:
deno run --unstable --allow-run utils/tag.js
inspect:
deno run --inspect-brk --unstable --allow-read utils/test.js
fsync:
rm -rf cache/sync
@make sync
@make imgs
twitter-stats:
deno run --unstable --allow-read --allow-write --allow-env --allow-net utils/twitter-stats.js $(complete)
install:
deno cache ./utils/*.js
reinstall:
deno cache --reload ./utils/*.js