Skip to content

Commit 92e9ff9

Browse files
committed
Add extra_lints.sh to all crates
rust-bitcoin-maintainer-tools has been updated and all the clippy errors with no-default-features have been fixed. Add extra_lints.sh to all crates with a command that runs clippy with no-default-features. Running no-default-features on the workspace did not give all of the clippy errors.
1 parent 11d79ed commit 92e9ff9

File tree

11 files changed

+55
-0
lines changed

11 files changed

+55
-0
lines changed

addresses/contrib/extra_lints.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
set -ex
4+
5+
cargo clippy --all-targets --no-default-features --keep-going -- -D warnings

base58/contrib/extra_lints.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
set -ex
4+
5+
cargo clippy --all-targets --no-default-features --keep-going -- -D warnings

bitcoin/contrib/extra_lints.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
set -ex
4+
5+
cargo clippy --all-targets --no-default-features --keep-going -- -D warnings
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
set -ex
4+
5+
cargo clippy --all-targets --no-default-features --keep-going -- -D warnings
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
set -ex
4+
5+
cargo clippy --all-targets --no-default-features --keep-going -- -D warnings

hashes/contrib/extra_lints.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
set -ex
4+
5+
cargo clippy --all-targets --no-default-features --keep-going -- -D warnings

internals/contrib/extra_lints.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
set -ex
4+
5+
cargo clippy --all-targets --no-default-features --keep-going -- -D warnings

io/contrib/extra_lints.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
set -ex
4+
5+
cargo clippy --all-targets --no-default-features --keep-going -- -D warnings

p2p/contrib/extra_lints.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
set -ex
4+
5+
cargo clippy --all-targets --no-default-features --keep-going -- -D warnings

primitives/contrib/extra_lints.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
set -ex
4+
5+
cargo clippy --all-targets --no-default-features --keep-going -- -D warnings

0 commit comments

Comments
 (0)