From a6ad246f9f35986eb6f899aa8934a25e99dca945 Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Tue, 7 Nov 2023 19:46:46 +0100 Subject: [PATCH] remove cache, see if we get a full build --- buildall.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/buildall.sh b/buildall.sh index 2840b75..c14b2e1 100644 --- a/buildall.sh +++ b/buildall.sh @@ -24,12 +24,13 @@ for i in $(seq 0 $(expr $(jq '. | length' < apps.json) - 1)); do inkscape icon.svg --export-filename=icon.png --export-width=1024 convert -background none icon.png -gravity center -extent 1024x1024 icon-square.png cd .. - fs-dir-cache gc unused --seconds "$((7 * 24 * 60 * 60))" # delete caches not used in more than a week - cache_dir=$(fs-dir-cache lock --key-file Cargo.toml) - trap "fs-dir-cache unlock --dir ${cache_dir}" EXIT + #this is completely unusable with tauri at the moment + #fs-dir-cache gc unused --seconds "$((7 * 24 * 60 * 60))" # delete caches not used in more than a week + #cache_dir=$(fs-dir-cache lock --key-file Cargo.toml) + #trap "fs-dir-cache unlock --dir ${cache_dir}" EXIT cargo tauri build --target-dir="${cache_dir}/target" - cargo tauri build --target x86_64-pc-windows-msvc --target-dir="${cache_dir}/target" - cargo tauri build --target x86_64-apple-darwin --target-dir="${cache_dir}/target" + cargo tauri build --target x86_64-pc-windows-msvc + cargo tauri build --target x86_64-apple-darwin cd .. cd .. done \ No newline at end of file