Move most of information to readme
[canary.git] / Makefile
blob10f572e17d2314b5c6a1a8b9dd7da6dfe9c1f897
1 KEY=$(HOME)/keys/q.sec
2 MESSAGE=message
5 .PHONY: all
6 all: signature git ipfs
7 @echo "Yay, we updated our new canary message!"
10 .PHONY: signature
11 signature: $(MESSAGE) $(KEY)
12 signify -S -e -m $(MESSAGE) -s $(KEY)
15 .PHONY: git
16 git:
17 @git add $(MESSAGE) $(MESSAGE).sig
18 @git commit -m "New update" -q || echo "No new files."; exit 1
19 @git push -q
21 .PHONY: ipfs
22 ipfs:
23 @echo Hash of a message in IPFS network is:
24 @ipfs add -Q $(MESSAGE).sig