Skip to content

Commit 3df239b

Browse files
committed
Merge rust-bitcoin#340: Add a justfile
6b3fdd1 Add a justfile (Tobin C. Harding) Pull request description: `just` makes invocations of various tools more discoverable and gives a quick way to run them. ACKs for top commit: apoelstra: ACK 6b3fdd1 Tree-SHA512: 2963b7380c8d8f02860e5a914a2249a3c7b17a61101f8d7eefc5bea4d590e8a05f07623155564279357300ccac49633832b94f337acefceaa010e3392c2cc02d
2 parents 136e151 + 6b3fdd1 commit 3df239b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

justfile

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
default:
2+
@just --list
3+
4+
# Cargo build everything.
5+
build:
6+
cargo build --workspace --all-targets
7+
8+
# Cargo check everything.
9+
check:
10+
cargo check --workspace --all-targets
11+
12+
# Lint everything.
13+
lint:
14+
cargo clippy --workspace --all-targets
15+
16+
# Run the formatter.
17+
fmt:
18+
cargo fmt --all
19+
20+
# Check the formatting.
21+
format:
22+
cargo fmt --all --check
23+
24+
# Test the workspace.
25+
test:
26+
cargo test --workspace --all-targets

0 commit comments

Comments
 (0)