mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-11-04 12:58:02 +00:00
* ci: build cache * update build job * rename steps, cache all builds, patch timestamps for ghc 8.10.7 * refactor, save O0 caches in master and stable builds * update build to include toolchain fingerprint * do not save cache on exact match * remove caching docker from prs --------- Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
10 lines
257 B
Bash
Executable File
10 lines
257 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
version=$(awk '/^version:/ {print $2}' simplexmq.cabal)
|
|
for dir in "$@"; do
|
|
if [ -d "$dir/build" ]; then
|
|
find "$dir/build" -mindepth 3 -maxdepth 3 -type d -name 'simplexmq-*' ! -name "simplexmq-$version" -exec rm -rf {} +
|
|
fi
|
|
done
|