forked from WasabiAiR/stow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (26 loc) · 745 Bytes
/
Makefile
File metadata and controls
34 lines (26 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.PHONY: test
WORKSPACE = $(shell pwd)
topdir = /tmp/$(pkg)-$(version)
all: container runcontainer
@true
container:
docker build --no-cache -t builder-stow test/
runcontainer:
docker run -v $(WORKSPACE):/mnt/src/github.com/graymeta/stow builder-stow
deps:
go get github.com/tebeka/go2xunit
go get github.com/Azure/azure-sdk-for-go/storage
go get github.com/aws/aws-sdk-go
go get github.com/ncw/swift
go get github.com/cheekybits/is
go get golang.org/x/net/context
go get golang.org/x/oauth2/google
go get github.com/pkg/errors
go get google.golang.org/api/storage/...
test: clean deps vet
go test -v ./... | tee tests.out
go2xunit -fail -input tests.out -output tests.xml
vet:
go vet ./...
clean:
rm -f tests.out test.xml