Skip to content

Commit

Permalink
Added a cairo lint dependency group
Browse files Browse the repository at this point in the history
  • Loading branch information
wawel37 committed Dec 16, 2024
1 parent 1448971 commit d3993bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ enum DepName {
Cairo,
#[value(name = "cairols")]
CairoLS,
#[value(name = "cairolint")]
CairoLint,
}

#[derive(clap::Args, Clone, Default)]
Expand Down Expand Up @@ -184,6 +186,7 @@ impl Args {
.collect()
}),
DepName::CairoLS => &["cairo-language-server"],
DepName::CairoLint => &["cairo-lint"],
}
}

Expand All @@ -195,6 +198,7 @@ impl Args {
match self.dep {
DepName::Cairo => "https://github.com/starkware-libs/cairo",
DepName::CairoLS => "https://github.com/software-mansion/cairols",
DepName::CairoLint => "https://github.com/software-mansion/cairo-lint",
}
}
}
Expand Down

0 comments on commit d3993bf

Please sign in to comment.