|
|
|
@ -70,7 +70,7 @@ coverage: build |
|
|
|
|
|
|
|
|
|
# Builds minio locally.
|
|
|
|
|
build: |
|
|
|
|
@echo "Building minio to $(PWD)/minio ..."
|
|
|
|
|
@echo "Building minio binary: $(PWD)/minio"
|
|
|
|
|
@CGO_ENABLED=0 go build --ldflags $(BUILD_LDFLAGS) -o $(PWD)/minio
|
|
|
|
|
|
|
|
|
|
pkg-add: |
|
|
|
@ -90,9 +90,9 @@ pkg-list: |
|
|
|
|
|
|
|
|
|
# Builds minio and installs it to $GOPATH/bin.
|
|
|
|
|
install: build |
|
|
|
|
@echo "Installing minio at $(GOPATH)/bin/minio ..."
|
|
|
|
|
@echo "Installing minio binary: $(GOPATH)/bin/minio"
|
|
|
|
|
@cp $(PWD)/minio $(GOPATH)/bin/minio
|
|
|
|
|
@echo "Check 'minio -h' for help."
|
|
|
|
|
@echo "\nInstallation successful. To learn more, try \"minio --help\"."
|
|
|
|
|
|
|
|
|
|
clean: |
|
|
|
|
@echo "Cleaning up all the generated files"
|
|
|
|
|