Commit 7df3598
committed
47781d5 fix(example): pass `--example bitcoind_rpc` to `just run` recipe (Luis Schwab)
Pull request description:
The `just run` recipe in the examples won't work because it has no idea what binary it needs to run:
```
bdk_wallet/examples % just run
error: a bin target must be available for `cargo run`
error: Recipe `run` failed on line 25 with exit code 101
```
This PR fixes it by passing `--example bitcoind_rpc` to `cargo run`.
Also adds a `just help` command to display all possible arguments to the `bitcoind_rpc` example.
ACKs for top commit:
ValuedMammal:
ACK 47781d5
Tree-SHA512: 25eb2bd2d87b2debca74c8510dbdee3f762b1ab5b3c966764983932483bd25f382bddd99f006d3d1447826daa49e8fea9cb6ec6340edd6c0b1b4c5f7c92bcbd8
1 file changed
Lines changed: 35 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
9 | 8 | | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
16 | 25 | | |
17 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
18 | 37 | | |
19 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
20 | 45 | | |
21 | 46 | | |
22 | 47 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 48 | | |
27 | 49 | | |
28 | 50 | | |
| |||
0 commit comments