mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-22 13:11:55 +00:00
* ci: cache build artifacts for faster builds * test build * compression * fix macos-latest * debug build * better caching * test cache * update build * test cache * ci: check toolchain restore * ci: remove Windows toolchain cache * ci: skip tests on macOS Intel --------- Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
10 lines
279 B
Bash
Executable File
10 lines
279 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
version=$(awk '/^version:/ {print $2}' simplex-chat.cabal | tr -d '\r')
|
|
for dir in "$@"; do
|
|
if [ -d "$dir/build" ]; then
|
|
find "$dir/build" -mindepth 3 -maxdepth 3 -type d -name 'simplex-chat-*' ! -name "simplex-chat-$version" -exec rm -rf {} +
|
|
fi
|
|
done
|