From 431ef30bfc4b4a1463281a1b38371f9b78c2f9bf Mon Sep 17 00:00:00 2001 From: codl Date: Fri, 11 Aug 2017 16:42:27 +0200 Subject: [PATCH] doit: add clean --- dodo.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dodo.py b/dodo.py index 71ec097..1f65f71 100644 --- a/dodo.py +++ b/dodo.py @@ -19,6 +19,7 @@ def task_gen_logo(): 'targets': [f'static/logotype-{width}.png' for width in widths]\ + ['static/logotype.png'], 'file_dep': ['assets/logotype.png'], + 'clean': True, } def task_copy_icon(): @@ -27,6 +28,7 @@ def task_copy_icon(): 'actions': [lambda: shutil.copy('assets/icon.png', 'static/icon.png')], 'targets': ['static/icon.png'], 'file_dep': ['assets/icon.png'], + 'clean': True, } def task_minify_css(): @@ -43,6 +45,7 @@ def task_minify_css(): 'actions': [minify], 'targets': ['static/styles.css'], 'file_dep': ['assets/styles.css'], + 'clean': True, } if __name__ == '__main__':