ipfs-cluster/cmd/ipfs-cluster-ctl/Makefile
Hector Sanjuan 073a0dfa58 Dockerfiles: download modules in advance
This should speed up Dockerfile builds, particularly when building after
updating the code since the modules will not be to be re-downloaded.
2019-10-28 10:23:18 +01:00

18 lines
244 B
Makefile

# go source files
SRC := $(shell find .. -type f -name '*.go')
all: ipfs-cluster-ctl
ipfs-cluster-ctl: $(SRC)
go build -mod=readonly
build: ipfs-cluster-ctl
install:
go install
clean:
rm -f ipfs-cluster-ctl
.PHONY: clean install build