-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
68 lines (56 loc) · 1.01 KB
/
Makefile
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
include config.rc
export
all: tests
.SILENT: docker
.PHONY: docker
docker:
echo "Building container images"
scripts/docker.sh
.SILENT: littledata
littledata:
echo "Generating test data"
scripts/getdata.sh
.SILENT: data
data:
echo "Generating test data"
scripts/bigdata.sh
.PHONY: tests
tests: data test-mc test-aws test-s3cmd test-boto
true
.SILENT: test-mc
.PHONY: test-mc
test-mc:
echo "Testing minio-client"
tests/01_mc.sh
.SILENT: test-aws
.PHONY: test-aws
test-aws:
echo "Testing aws-cli"
tests/02_awscli.sh
.SILENT: test-s3cmd
.PHONY: test-s3cmd
test-s3cmd:
echo "Testing s3cmd"
tests/03_s3cmd.sh
.SILENT: test-minfs
.PHONY: test-minfs
test-minfs:
echo "Testing minfs docker volume driver"
tests/04_minfs.sh
.SILENT: test-boto
.PHONY: test-boto
test-boto:
echo "Testing boto Python library"
tests/05_boto3.sh
.SILENT: clean
.PHONY: clean
clean:
echo "Cleaning up"
rm -rf downloads
rm -rf data
rm -rf tests/*.log
scripts/docker.sh clean
.SILENT: all
.PHONY: all
all: docker data tests
true