#!/usr/bin/env bash # Remove all build outputs. Leaves sources, scripts, and the leanclr # submodule intact. # Run from the repo root. set -euo pipefail REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" cd "$REPO_ROOT" rm -rf build build-master build-web rm -rf src/generated rm -rf managed/GodotSharpCompat/Generated rm -rf project/bin rm -rf project/leanclr rm -rf project/obj rm -f tools/binding_generator/__pycache__ echo "[clean] Removed build directories, generated bindings, C# outputs."