mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
13 lines
352 B
Bash
Executable File
13 lines
352 B
Bash
Executable File
#!/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."
|