SyncTk/.vscode/tasks/linux/cleanup_everything.sh

13 lines
311 B
Bash

#!/bin/bash
python3 -Bc "import pathlib; [p.unlink() for p in pathlib.Path('.').rglob('*.py[co]')]"
python3 -Bc "import pathlib; [p.rmdir() for p in pathlib.Path('.').rglob('__pycache__')]"
rm -rf build/linux/*
rm -rf build/windows/*
rm -rf dist/linux/app
rm -rf dist/windows/app
rm -rf venv
rm -rf buildenv