-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (28 loc) · 740 Bytes
/
Copy pathMakefile
File metadata and controls
40 lines (28 loc) · 740 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
30
31
32
33
34
35
36
37
38
39
all: SIGNED.md
$(VERSION):
bash version.sh $(VERSION)
version: $(VERSION)
typo.js: main.js QWERTY.keyboard dictionary default.help LICENSE $(VERSION)
bash build.sh
typo.js.asc: typo.js
keybase sign typo.js
.npmignore: .gitignore
sort -ru .gitignore > .npmignore
echo '.gitignore .npmignore Makefile *.sh' | tr ' ' '\n' >> .npmignore
.kbignore: .npmignore
sort -ru .npmignore > .kbignore
echo package.json >> .kbignore
SIGNED.md: typo.js.asc .kbignore
keybase dir sign
verify:
keybase dir verify
keybase verify typo.js.asc
ifdef VERSION
tag: SIGNED.md
git commit -am 'Signed PGP:E6B74303'
git tag v$(VERSION)
endif
clean:
rm -fv typo.js
git checkout SIGNED.md typo.js.asc
.PHONY: clean version SIGNED.md verify tag