Remove 2 suffix for theme

Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
Max Brunsfeld 2024-01-03 12:41:01 -08:00
parent 4305c5fdbe
commit dfcb17fe74
79 changed files with 319 additions and 2648 deletions

View file

@ -19,5 +19,5 @@ rust-embed.workspace = true
serde.workspace = true
simplelog = "0.9"
strum = { version = "0.25.0", features = ["derive"] }
theme = { package = "theme2", path = "../theme2", features = ["importing-themes"] }
theme = { path = "../theme", features = ["importing-themes"] }
uuid.workspace = true

View file

@ -78,7 +78,7 @@ struct Args {
fn main() -> Result<()> {
const SOURCE_PATH: &str = "assets/themes/src/vscode";
const OUT_PATH: &str = "crates/theme2/src/themes";
const OUT_PATH: &str = "crates/theme/src/themes";
let args = Args::parse();
@ -376,6 +376,6 @@ fn main() -> Result<()> {
fn format_themes_crate() -> std::io::Result<std::process::Output> {
Command::new("cargo")
.args(["fmt", "--package", "theme2"])
.args(["fmt", "--package", "theme"])
.output()
}