New update
[canary.git] / Makefile
blobaadc865b014a4e7686fa1003f6a31fbae493c6f1
1 KEY=$(HOME)/secure/keys/q.sec
2 MESSAGE=message
5 .PHONY: all
6 all: signature git ipfs
7 @echo "Message was updated."
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
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