summaryrefslogtreecommitdiffstats
path: root/build/scripts/fail_module_cmd.py
blob: a741cbab3a395d06b0f39e71398ad38ae5d3f7b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import sys

if __name__ == '__main__':
    assert len(sys.argv) == 2, 'Unexpected number of arguments...'
    sys.stderr.write(
        'Error: module command for target [[bad]]{}[[rst]] was not executed due to build graph configuration errors...\n'.format(
            sys.argv[1]
        )
    )
    sys.exit(1)