debian/patches/disable-xshell.diff
raw| 1 | --- a/Cargo.toml |
| 2 | +++ b/Cargo.toml |
| 3 | @@ -42,5 +42,2 @@ |
| 4 | |
| 5 | -[dev-dependencies.xshell] |
| 6 | -version = "0.2.7" |
| 7 | - |
| 8 | [features] |
| 9 | --- a/lib.rs |
| 10 | +++ b/lib.rs |
| 11 | @@ -38,6 +38,7 @@ pub const fn is_release() -> bool { |
| 12 | matches!(build_channel(), BuildModel::Release) |
| 13 | } |
| 14 | |
| 15 | +/* |
| 16 | #[cfg(test)] |
| 17 | mod tests { |
| 18 | use xshell::{cmd, Shell}; |
| 19 | @@ -80,3 +81,4 @@ fn main() { |
| 20 | cmd!(sh, "rm -rf ../{repo}").run().unwrap(); |
| 21 | } |
| 22 | } |
| 23 | +*/ |