mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-17 15:57:21 +03:00
dade-collect-garbage to delete ~/.bazel-cache
as part of the cleanup (#1061)
This commit is contained in:
parent
7672b91ae6
commit
50bab729d0
@ -1,4 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
DADE_CURRENT_SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
BASEL_CACHE_DIR="${DADE_CURRENT_SCRIPT_DIR}/../../.bazel-cache"
|
||||
source "$DADE_CURRENT_SCRIPT_DIR/../lib/dade-common"
|
||||
|
||||
echo "Cleaning nix cache..."
|
||||
nix-store --gc
|
||||
|
||||
echo "Deleting bazel cache: ${BASEL_CACHE_DIR}..."
|
||||
rm -rf "${BASEL_CACHE_DIR}"
|
||||
|
||||
echo "Done."
|
||||
|
Loading…
Reference in New Issue
Block a user