code-server/ci/build/clean.sh

28 lines
375 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "${0}")/../.."
source ./ci/lib.sh
rm -rf \
out \
release \
release-standalone \
release-packages \
release-gcp \
release-images \
dist \
.cache \
node-* \
.home \
lib/coder-cloud-agent
pushd lib/vscode
git clean -xffd
git reset --hard
popd
}
main "$@"