1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-30 14:08:45 +00:00
code-server-2/ci/build/clean.sh

13 lines
216 B
Bash
Raw Normal View History

2020-02-14 23:54:52 +00:00
#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "${0}")/../.."
2020-02-26 02:30:58 +00:00
git clean -Xffd
2020-02-14 23:54:52 +00:00
git submodule foreach --recursive git clean -xffd
git submodule foreach --recursive git reset --hard
}
main "$@"