Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
surf: Remove mention of `git-platinum` from build
◌ CI pending Lorenz Leutgeb committed 3 months ago
commit aebddc9857bdad8ea26151fd3f09c20fcaf1c70d
parent 25e881978214a3a0e986837b822c41b4dca63980
1 pending (1 total) View logs
1 file changed +5 -4
modified crates/radicle-surf/build.rs
@@ -35,16 +35,17 @@ impl Command {
}

fn main() {
-
    let target = Command::new()
+
    let _target = Command::new()
        .expect("could not determine the cargo command")
        .target();
-
    let git_platinum_tarball = "./data/git-platinum.tgz";
+
    // let git_platinum_tarball = "./data/git-platinum.tgz";

-
    unpack(git_platinum_tarball, target).expect("Failed to unpack git-platinum");
+
    // unpack(git_platinum_tarball, target).expect("Failed to unpack git-platinum");

-
    println!("cargo:rerun-if-changed={git_platinum_tarball}");
+
    // println!("cargo:rerun-if-changed={git_platinum_tarball}");
}

+
#[allow(dead_code)]
fn unpack(archive_path: impl AsRef<Path>, target: impl AsRef<Path>) -> anyhow::Result<()> {
    let content = target.as_ref().join("git-platinum");
    if content.exists() {