Files
OpenLLM/clean.sh
2023-11-16 17:38:47 -05:00

7 lines
263 B
Bash

#!/usr/bin/env bash
GIT_ROOT="$(git rev-parse --show-toplevel)"
cd "$GIT_ROOT" || exit 1
find . -type f -iname "*.so" -exec rm -f {} \;
find . -type d -iname "__pycache__" -exec rm -rf {} \; -prune
find . -type d -iname "node_modules" -exec rm -rf "{}" \; -prune