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