@invoke.task()<EOL>def clean(ctx):
ctx.run(f"<STR_LIT>")<EOL>dist = ROOT.joinpath("<STR_LIT>")<EOL>build = ROOT.joinpath("<STR_LIT>")<EOL>print(f"<STR_LIT>")<EOL>if dist.exists():<EOL><INDENT>shutil.rmtree(str(dist))<EOL><DEDENT>if build.exists():<EOL><INDENT>shutil.rmtree(str(build))<EOL><DEDENT>
Clean previously built package artifacts.