Add sass support

This commit is contained in:
YuKun Liu committed 2022-05-08 00:56:22 +08:00
1 parent ea723f64cd
commit f7f1d90520
3 files changed
+25 -4

No files matched your search

+7 -1
View File
@@ -201,7 +201,13 @@ impl Tool {
command.to_string()
}
}
Tool::Sass => command.to_string(),
Tool::Sass => {
if cfg!(target_os = "windows") {
format!("{}.bat", command)
} else {
command.to_string()
}
},
};
if !bin_path.join(&command_file).is_file() {