aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mintro.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-05-07 01:00:25 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2017-05-07 01:56:47 +0530
commit333085160d6cbff2b4a47fac76cb507cd1f6d1c7 (patch)
tree9c67da50c2695cbf8ea5dc61ccb7847af13db611 /mesonbuild/mintro.py
parentb1df1a2bec053937ecb09f425248c1dbcee9237a (diff)
downloadmeson-333085160d6cbff2b4a47fac76cb507cd1f6d1c7.zip
meson-333085160d6cbff2b4a47fac76cb507cd1f6d1c7.tar.gz
meson-333085160d6cbff2b4a47fac76cb507cd1f6d1c7.tar.bz2
run_command: Refactor + improve errors and test
Refactor to use ExternalProgram for the command instead of duplicating that code (badly). Also improve messages to say "or not executable" when a script/command is not found. Also allow ExternalPrograms to be passed as arguments to run_command(). The only thing we're doing by preventing that is forcing people to use prog.path()
Diffstat (limited to 'mesonbuild/mintro.py')
0 files changed, 0 insertions, 0 deletions