diff --git a/tools/clear_cache.sh b/tools/clear_cache.sh new file mode 100755 index 00000000..aacac0db --- /dev/null +++ b/tools/clear_cache.sh @@ -0,0 +1 @@ +rm -r ./kibot/bom/__pycache__ ./kibot/kicad/__pycache__ ./kibot/mcpyrate/__pycache__ ./kibot/__pycache__ ./tests/.config/kiplot/plugins/__pycache__ ./tests/.config/kibot/plugins/__pycache__ ./tests/utils/__pycache__ ./tests/test_plot/fake_pcbnew/__pycache__ ./tests/test_plot/__pycache__ ./tests/__pycache__ diff --git a/tools/compress_cache.sh b/tools/compress_cache.sh new file mode 100755 index 00000000..58747979 --- /dev/null +++ b/tools/compress_cache.sh @@ -0,0 +1,2 @@ +tar Jcvf cache.tar.xz ./kibot/bom/__pycache__ ./kibot/kicad/__pycache__ ./kibot/mcpyrate/__pycache__ ./kibot/__pycache__ ./tests/.config/kiplot/plugins/__pycache__ ./tests/.config/kibot/plugins/__pycache__ ./tests/utils/__pycache__ ./tests/test_plot/fake_pcbnew/__pycache__ ./tests/test_plot/__pycache__ ./tests/__pycache__ +