Skip to content

Commit f5370bd

Browse files
committed
fix: remove optional binary builds from CI and features
1 parent 3ac2109 commit f5370bd

File tree

5 files changed

+121
-7
lines changed

5 files changed

+121
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,8 @@ jobs:
4444
- name: Run tests
4545
run: cargo test --workspace --all-features
4646

47-
- name: Build all binaries
48-
run: |
49-
cargo build --release --bin redisctl
50-
cargo build --release --features cloud-only --bin redis-cloud
51-
cargo build --release --features enterprise-only --bin redis-enterprise
47+
- name: Build binary
48+
run: cargo build --release --bin redisctl
5249

5350
coverage:
5451
name: Code Coverage

.mdbook-lint.toml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# mdbook-lint configuration for redisctl documentation
2+
# https://github.com/joshrotenberg/mdbook-lint
3+
4+
# Temporarily disable rules with known issues
5+
disabled-rules = [
6+
"MDBOOK010", # Math block detection - false positives with $ in shell code blocks (issue #141)
7+
"MDBOOK005", # Orphaned files - incorrectly checking outside src directory (issue #142)
8+
"MDBOOK002", # Internal link validation - false positives with existing files
9+
]
10+
11+
# Don't fail the build on warnings or errors during initial setup
12+
fail-on-warnings = false
13+
fail-on-errors = false
14+
15+
# Configure specific rules
16+
[rules.MD013]
17+
# Allow longer lines for code examples and CLI output
18+
line_length = 120
19+
20+
[rules.MD024]
21+
# Allow duplicate headings in different sections
22+
enabled = true
23+
24+
[rules.MD041]
25+
# Require first line to be a heading
26+
enabled = true
27+
28+
# Future configuration options when issues are resolved:
29+
# [rules.MDBOOK005]
30+
# search-path = "src" # Only check within src directory
31+
#
32+
# [rules.MDBOOK010]
33+
# skip-code-blocks = true # Skip math detection in code blocks

crates/redisctl/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ default = ["full"]
4848
full = ["cloud", "enterprise"]
4949
cloud = []
5050
enterprise = []
51-
cloud-only = ["cloud"]
52-
enterprise-only = ["enterprise"]
5351

5452
[dev-dependencies]
5553
assert_cmd = "2.0"

docs/full-config.toml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
enabled-categories = []
2+
disabled-categories = []
3+
enabled-rules = [
4+
'MD001',
5+
'MD002',
6+
'MD003',
7+
'MD004',
8+
'MD005',
9+
'MD006',
10+
'MD007',
11+
'MD009',
12+
'MD010',
13+
'MD011',
14+
'MD012',
15+
'MD013',
16+
'MD014',
17+
'MD018',
18+
'MD019',
19+
'MD020',
20+
'MD021',
21+
'MD022',
22+
'MD023',
23+
'MD024',
24+
'MD025',
25+
'MD026',
26+
'MD027',
27+
'MD028',
28+
'MD029',
29+
'MD030',
30+
'MD031',
31+
'MD032',
32+
'MD033',
33+
'MD034',
34+
'MD035',
35+
'MD036',
36+
'MD037',
37+
'MD038',
38+
'MD039',
39+
'MD040',
40+
'MD041',
41+
'MD042',
42+
'MD043',
43+
'MD044',
44+
'MD045',
45+
'MD046',
46+
'MD047',
47+
'MD048',
48+
'MD049',
49+
'MD050',
50+
'MD051',
51+
'MD052',
52+
'MD053',
53+
'MD054',
54+
'MD055',
55+
'MD056',
56+
'MD058',
57+
'MD059',
58+
'MDBOOK001',
59+
'MDBOOK002',
60+
'MDBOOK003',
61+
'MDBOOK004',
62+
'MDBOOK005',
63+
'MDBOOK006',
64+
'MDBOOK007',
65+
'MDBOOK008',
66+
'MDBOOK009',
67+
'MDBOOK010',
68+
'MDBOOK011',
69+
'MDBOOK012',
70+
'MDBOOK025',
71+
]
72+
disabled-rules = []
73+
deprecated-warning = 'warn'
74+
markdownlint-compatible = false
75+
fail-on-warnings = false
76+
fail-on-errors = true
77+
malformed-markdown = 'warn'

docs/temp-config.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
enabled-categories = []
2+
disabled-categories = []
3+
enabled-rules = []
4+
disabled-rules = []
5+
deprecated-warning = 'warn'
6+
markdownlint-compatible = false
7+
fail-on-warnings = false
8+
fail-on-errors = true
9+
malformed-markdown = 'warn'

0 commit comments

Comments
 (0)