-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbacon.toml
45 lines (38 loc) · 1.19 KB
/
bacon.toml
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
35
36
37
38
39
40
41
42
43
44
45
default_job = "run-hunter"
[env]
CARGO_TERM_COLOR = "always"
RUST_BACKTRACE = "1"
# Fast check for syntax errors
[jobs.check]
command = ["cargo", "check"]
need_stdout = false
# Main hunting job with optimized parameters
[jobs.run-hunter]
command = [
"cargo", "run", "--release", "--",
"--start-pattern", "000000000000", # Matched to your default of 12 zeros
"--min-zeros", "12", # Restored to original value
"--step", "50000", # Restored to original value
"--log-interval", "15000", # Restored to original value
"--max-tries", "10000000000", # Added max tries
"--skip-confirmation"
]
need_stdout = true
allow_warnings = true
background = false
on_change_strategy = "kill_then_restart"
# Performance testing jobs
[jobs.bench]
command = ["cargo", "bench"]
need_stdout = true
[jobs.test-all]
command = ["cargo", "test", "--all-targets"]
need_stdout = true
[jobs.clippy-all]
command = ["cargo", "clippy", "--all-targets", "--", "-D", "warnings"]
need_stdout = true
[keybindings]
r = "job:run-hunter" # Quick restart of hunter
b = "job:bench" # Quick benchmark
t = "job:test-all" # Run all tests
c = "job:clippy-all" # Run clippy