ipfs-cluster/ipfs-cluster-service/Makefile
Hector Sanjuan 81db084249 Make sure the commit string gets set. Fix PublicKey. Output JSON in cluster-ctl
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-01-24 16:56:14 +01:00

15 lines
290 B
Makefile

all: ipfs-cluster-service
ipfs-cluster-service:
go build -ldflags "-X main.commit=$(shell git rev-parse HEAD)"
build: ipfs-cluster-service
install:
go install -ldflags "-X ipfscluster.Commit=$(shell git rev-parse HEAD)"
clean:
rm -f ipfs-cluster-service
.PHONY: clean install build