From 45c649c902286dac10de0185ee14fc5408bdfc5e Mon Sep 17 00:00:00 2001 From: Jake Shadle <2316028+Jake-Shadle@users.noreply.github.com> Date: Wed, 6 Feb 2019 16:41:49 +0100 Subject: [PATCH] sccache: Add extract_dir property (#3088) * The tarball has an internal directory named the same as itself * Add extract_dir to autoupdate for future versions --- sccache.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sccache.json b/sccache.json index 53a2c1c5a7..ae8aa5a1da 100644 --- a/sccache.json +++ b/sccache.json @@ -5,9 +5,11 @@ "license": "Apache-2.0", "url": "https://github.com/mozilla/sccache/releases/download/0.2.8/sccache-0.2.8-x86_64-pc-windows-msvc.tar.gz", "hash": "b11e56854efc61960bef2b926b8ed4da72625bd64be7eb2e29e9a1df02e69b2f", + "extract_dir": "sccache-0.2.8-x86_64-pc-windows-msvc", "bin": "sccache.exe", "checkver": "github", "autoupdate": { - "url": "https://github.com/mozilla/sccache/releases/download/$version/sccache-$version-x86_64-pc-windows-msvc.tar.gz" + "url": "https://github.com/mozilla/sccache/releases/download/$version/sccache-$version-x86_64-pc-windows-msvc.tar.gz", + "extract_dir": "sccache-$version-x86_64-pc-windows-msvc" } }