|
|
@ -70,7 +70,7 @@ coverage: build |
|
|
|
|
|
|
|
|
|
|
|
# Builds minio locally.
|
|
|
|
# Builds minio locally.
|
|
|
|
build: |
|
|
|
build: |
|
|
|
@echo "Building minio to $(PWD)/minio ..."
|
|
|
|
@echo "Building minio binary: $(PWD)/minio"
|
|
|
|
@CGO_ENABLED=0 go build --ldflags $(BUILD_LDFLAGS) -o $(PWD)/minio
|
|
|
|
@CGO_ENABLED=0 go build --ldflags $(BUILD_LDFLAGS) -o $(PWD)/minio
|
|
|
|
|
|
|
|
|
|
|
|
pkg-add: |
|
|
|
pkg-add: |
|
|
@ -90,9 +90,9 @@ pkg-list: |
|
|
|
|
|
|
|
|
|
|
|
# Builds minio and installs it to $GOPATH/bin.
|
|
|
|
# Builds minio and installs it to $GOPATH/bin.
|
|
|
|
install: build |
|
|
|
install: build |
|
|
|
@echo "Installing minio at $(GOPATH)/bin/minio ..."
|
|
|
|
@echo "Installing minio binary: $(GOPATH)/bin/minio"
|
|
|
|
@cp $(PWD)/minio $(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: |
|
|
|
clean: |
|
|
|
@echo "Cleaning up all the generated files"
|
|
|
|
@echo "Cleaning up all the generated files"
|
|
|
|