Introspect script understands runtargets.

This commit is contained in:
Jussi Pakkanen 2014-06-11 23:19:00 +03:00
parent 73ca870bef
commit 0df73e4c2f
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ def list_targets(coredata, builddata):
typename = 'static library'
elif isinstance(target, build.CustomTarget):
typename = 'custom'
elif isinstance(target, build.RunTarget):
typename = 'run'
else:
typename = 'unknown'
t['type'] = typename