doit: more checks on build

This commit is contained in:
boyska 2018-08-17 18:05:13 +02:00
parent a48c395975
commit a89399eec3

10
dodo.py
View file

@ -1,4 +1,5 @@
import subprocess
import os
from doit.tools import LongRunning
@ -14,11 +15,10 @@ def task_build():
'''builda il container docker'''
return {
'uptodate': [up2date_anyimages],
'file_dep': ['docker-compose.yml', 'docker/Dockerfile-tt-rss',
'docker/ttrss-openrc-apache',
'docker/ttrss-openrc-ttrssupdate',
'rss-bridge/Dockerfile'
],
'file_dep': ['docker-compose.yml',
'rss-bridge/Dockerfile',
] + [os.path.join('docker', fname)
for fname in os.listdir('docker')],
'actions': [COMPOSE + ' build'],
'clean': [run_task_func(task__build_rm),
run_task_func(task__build_rmi)],