-
Notifications
You must be signed in to change notification settings - Fork 88
/
Makefile
34 lines (23 loc) · 1.18 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
SHELL := /bin/sh
.PHONY: preinstall build-full-blocking build-rustls-tls build-full-async test-full-async test-full-blocking test-rustls-tls
preinstall:
bash preinstall.sh
build-no-default-features: preinstall
# Check "no default features"
cargo build --verbose --workspace --exclude binary_size --no-default-features --features default-tls
build-full-blocking: preinstall
# Check "full/blocking"
cargo build --verbose --workspace --exclude binary_size --features blocking
test-full-blocking: build-full-blocking
cargo test --verbose --workspace --exclude binary_size --features blocking
build-full-async: preinstall
# Check "full/async"
cargo build --verbose --workspace --exclude binary_size
test-full-async: build-full-async
cargo test --verbose --example async_create_charge
build-rustls-tls: preinstall
# Check "full/blocking"
cargo build --verbose --no-default-features --features "full webhook-events blocking rustls-tls" --workspace --exclude binary_size
test-rustls-tls: build-rustls-tls
cargo test --verbose --no-default-features --features "full webhook-events blocking rustls-tls" --workspace --exclude binary_size
all: test-full-blocking test-full-async test-rustls-tls