I have a meson custom_target that builds a docker. Before it runs, I would like to remove some files. However, I cannot use a run_command in the depends: section. e.g. I'd like to add a 'clean_target' along with 'devbase' below. Is there a way to do that?
, output : meson.project_name() + '.iid'
, input : dev_docker_file
, depends : [devbase]
, command : [docker, 'build'
, '--tag', dev_tag
, '--iidfile', '@OUTPUT@'
, '--file', dev_docker_file
, meson.source_root()]
, console : true)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…