๐Ÿ“ฆ encode / databases

๐Ÿ“„ clean ยท 21 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21#!/bin/sh -e

if [ -d 'dist' ] ; then
    rm -r dist
fi
if [ -d 'site' ] ; then
    rm -r site
fi
if [ -d 'databases.egg-info' ] ; then
    rm -r databases.egg-info
fi
if [ -d '.mypy_cache' ] ; then
    rm -r .mypy_cache
fi
if [ -d '.pytest_cache' ] ; then
    rm -r .pytest_cache
fi

find databases -type f -name "*.py[co]" -delete
find databases -type d -name __pycache__ -delete