Docker-machine-driver-xenserver derivado do docker-machine-driver-xcp, apenas para compatibilidade de clusters Rancher criados com o driver antigo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
.PHONY: build
|
|
|
|
build:
|
|
|
|
go get ./...
|
|
|
|
go build ./...
|
|
|
|
|
|
|
|
.PHONY: install
|
|
|
|
go get ./...
|
|
|
|
go install ./...
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
if [ -f docker-machine-driver-xenserver ] ; then rm docker-machine-driver-xenserver ; fi
|
|
|
|
for arch in 386 amd64 ; do \
|
|
|
|
for os in darwin linux ; do \
|
|
|
|
if [ -f docker-machine-driver-xenserver_$$os-$$arch ] ; then rm docker-machine-driver-xenserver_$$os-$$arch ; fi ; \
|
|
|
|
done \
|
|
|
|
done
|
|
|
|
|
|
|
|
.PHONY: release
|
|
|
|
release:
|
|
|
|
go get ./...
|
|
|
|
for arch in 386 amd64 ; do \
|
|
|
|
for os in darwin linux ; do \
|
|
|
|
GOOS=$$os GOARCH=$$arch go build -o docker-machine-driver-xenserver_$$os-$$arch ; \
|
|
|
|
done \
|
|
|
|
done
|