UNPKG

merkle-json

Version:

Compute hash of Javascript object having optional Merkle hash tags

10 lines (8 loc) 204 B
.PHONY: commit commit: @if [ ! -f .commit-msg ]; then echo "Error: .commit-msg not found"; exit 1; fi @MSG=$$(cat .commit-msg); \ rm .commit-msg; \ git add .; \ git commit -m "$$MSG"; \ git status