forked from pact-foundation/pact-reference
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
19 lines (17 loc) · 696 Bytes
/
Makefile
File metadata and controls
19 lines (17 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This Makefile exists to wrap `cargo`'s `--all` command for backwards
# compatibility.
all:
# We don't `clean` before building, because cargo is _extremely_ good at
# tracking dependencies, and it will correctly handle even edge cases like a
# compiler version upgrade without a manual `clean`. So it doesn't make
# sense to recompile the entire world unless somebody specifically requests
# it, especially given long Rust compile times.
#
# We call `build` and `test` separately, because they compile slightly
# different things.
cargo build --all
cargo test --all
clean:
# This doesn't require `--all`, perhaps because there's only one shared
# artifacts directory.
cargo clean