Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/clean.py
blob: c31e058c23c893e779c900faac0c81b848b4f845 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from devbot import build
from devbot import logs
from devbot import state


def clean(build_only=False):
    print("\n= Clean =\n")

    build.clean()
    state.clean(build_only=build_only)

    if not build_only:
        logs.clean()