mirror of
https://github.com/ceph/go-ceph
synced 2024-12-11 08:57:13 +00:00
3f52ea219a
noahdesu -> ceph Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
15 lines
324 B
Makefile
15 lines
324 B
Makefile
DOCKER_CI_IMAGE = go-ceph-ci
|
|
build:
|
|
go build -v
|
|
fmt:
|
|
go fmt ./...
|
|
test:
|
|
go test -v ./...
|
|
|
|
test-docker: .build-docker
|
|
docker run --rm -it -v $(CURDIR):/go/src/github.com/ceph/go-ceph $(DOCKER_CI_IMAGE)
|
|
|
|
.build-docker:
|
|
docker build -t $(DOCKER_CI_IMAGE) .
|
|
@docker inspect -f '{{.Id}}' $(DOCKER_CI_IMAGE) > .build-docker
|