mirror of https://github.com/zulip/zulip.git
13 lines
288 B
Bash
Executable File
13 lines
288 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# Remove .pyc files to prevent loading stale code.
|
|
#
|
|
# You can run it automatically on checkout:
|
|
#
|
|
# echo ./tools/clean-repo > .git/hooks/post-checkout
|
|
# chmod +x .git/hooks/post-checkout
|
|
|
|
cd "$(dirname "$0")/.."
|
|
find . -name "*.pyc" -exec rm -f {} \;
|