We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01c52d8 commit 8022f2aCopy full SHA for 8022f2a
crates/xtask/src/main.rs
@@ -20,7 +20,6 @@ use strum::VariantNames;
20
#[strum(serialize_all = "snake_case")]
21
enum Feature {
22
// Lua
23
- Lua,
24
Lua51,
25
Lua52,
26
Lua53,
@@ -68,8 +67,7 @@ trait IntoFeatureGroup {
68
67
impl IntoFeatureGroup for Feature {
69
fn to_feature_group(self) -> FeatureGroup {
70
match self {
71
- Feature::Lua
72
- | Feature::Lua51
+ Feature::Lua51
73
| Feature::Lua52
74
| Feature::Lua53
75
| Feature::Lua54
@@ -413,7 +411,7 @@ impl Xtasks {
413
411
414
412
// build mdbook
415
info!("Building mdbook docs");
416
- let args = if open { vec!["build"] } else { vec!["serve"] };
+ let args = if !open { vec!["build"] } else { vec!["serve"] };
417
418
Self::run_system_command(
419
"mdbook",
0 commit comments