-
Notifications
You must be signed in to change notification settings - Fork 13
/
Makefile
50 lines (40 loc) · 926 Bytes
/
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
.PHONY: build
build:
dune build @install
.PHONY: lwt
lwt:
dune build aws-s3-lwt.install
.PHONY: async
async:
dune build aws-s3-async.install
.PHONY: install
install: build
dune install
.PHONY: clean
clean:
dune clean
.PHONY: test
test: build
dune runtest
.PHONY: integration
integration:
./integration.sh
release:
dune-release
doc:
dune build @doc
gh-pages: doc
git clone `git config --get remote.origin.url` .gh-pages --reference .
git -C .gh-pages checkout --orphan gh-pages
git -C .gh-pages reset
git -C .gh-pages clean -dxf
cp -r _build/default/_doc/_html/* .gh-pages
git -C .gh-pages add .
git -C .gh-pages config user.email 'docs@aws-s3'
git -C .gh-pages commit -m "Update documentation"
git -C .gh-pages push origin gh-pages -f
rm -rf .gh-pages
.PHONY: minio
minio:
mkdir -p /tmp/minio/aws-s3-bucket
docker run --rm -it -p 9000:9000 -v /tmp/minio:/minio minio/minio:latest server /minio