mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
Moving to godep for dependency management
This commit is contained in:
32
Makefile
32
Makefile
@@ -1,23 +1,19 @@
|
||||
GOPATH := $(CURDIR)/tmp/gopath
|
||||
#GOPATH := $(CURDIR)/tmp/gopath
|
||||
|
||||
all: build test copy_bin
|
||||
|
||||
copy_bin:
|
||||
cp tmp/gopath/bin/* bin/
|
||||
|
||||
stage_build:
|
||||
mkdir -p $(GOPATH)
|
||||
mkdir -p bin
|
||||
mkdir -p tmp/gopath/src/github.com/minios/minios
|
||||
rsync -a . tmp/gopath/src/github.com/minios/minios/
|
||||
rsync -a third_party/* tmp/gopath
|
||||
all: test install
|
||||
|
||||
test:
|
||||
go test github.com/minios/minios
|
||||
go test github.com/minios/minios/minio
|
||||
godep go test github.com/minios/minios
|
||||
godep go test github.com/minios/minios/minio
|
||||
|
||||
build: stage_build
|
||||
go install github.com/minios/minios/minio
|
||||
install:
|
||||
godep go install github.com/minios/minios/minio
|
||||
|
||||
clean:
|
||||
rm -rf tmp bin
|
||||
save:
|
||||
godep save ./...
|
||||
|
||||
restore:
|
||||
godep restore
|
||||
|
||||
env:
|
||||
godep go env
|
||||
|
||||
Reference in New Issue
Block a user