aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/fail_module_cmd.py
blob: a7af64da9bdfcc3e1c029364ab0390e218d861c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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)