ipfs-cluster/cmd/ipfs-cluster-service/Makefile
Kishan Sagathiya 79481f83dc Move ipfs-cluster-service and ipfs-cluster-ctl to cmd/
This commit moves `ipfs-cluster-service` and `ipfs-cluster-ctl` to
`cmd/` directory to follow "standard" project structure.

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-09-27 20:56:09 +02:00

18 lines
354 B
Makefile

# go source files
SRC := $(shell find .. -type f -name '*.go')
all: ipfs-cluster-service
ipfs-cluster-service: $(SRC)
go build -ldflags "-X main.commit=$(shell git rev-parse HEAD)"
build: ipfs-cluster-service
install:
go install -ldflags "-X main.commit=$(shell git rev-parse HEAD)"
clean:
rm -f ipfs-cluster-service
.PHONY: clean install build