forked from rusoto/rusoto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
56 lines (42 loc) · 1.28 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
# System Setup
SHELL = bash
RUST_VERSION ?= stable
.PHONY: clean
clean:
cargo +$$RUST_VERSION clean
.PHONY: fmt
fmt:
cargo +$$RUST_VERSION fmt
.PHONY: generate
generate:
(cd service_crategen && cargo +$$RUST_VERSION run -- generate -c ./services.json -o ../rusoto/services)
.PHONY: build
build: generate
cargo +$$RUST_VERSION build --features all
.PHONY: docs
docs:
cargo +$$RUST_VERSION doc --all --no-deps
.PHONY: unit_test
unit_test:
cargo +$$RUST_VERSION test --all
.PHONY: skeptical
skeptical:
(cd skeptical && cargo +$$RUST_VERSION test)
.PHONY: integration_test
integration_test:
(cd integration_tests && cargo +$$RUST_VERSION test --features all)
.PHONY: check_integration_test
check_integration_test:
(cd integration_tests && cargo +$$RUST_VERSION check --tests --features all)
.PHONY: rustls_unit_test
rustls_unit_test:
cargo +$$RUST_VERSION test --all -v --no-default-features --features=rustls
.PHONY: check_service_defintions
check_service_defintions:
(cd service_crategen && cargo +$$RUST_VERSION run -- check -c ./services.json)
.PHONY: time_credentials
time_credentials:
(cd rusoto/credential && cargo clean --package rusoto_credential && touch src/lib.rs && time cargo +$$RUST_VERSION build)
.PHONY: bench_s3
bench_s3:
(cd rusoto/services/s3 && cargo +nightly bench)