Add swiftc tool

This commit is contained in:
Eryn Wells 2015-12-05 09:53:32 -08:00
parent c669ad98f1
commit fd2e6ae699
2 changed files with 34 additions and 1 deletions

View file

@ -184,7 +184,7 @@ class Environment(SCons.Environment.Environment):
def _append_custom_tools(self, kwargs):
'''Add custom tools to the `kwargs`.'''
tools = kwargs.setdefault('tools', ['default'])
for tool in ['lib', 'test', 'program', 'sconscript']:
for tool in ['lib', 'test', 'program', 'sconscript', 'swiftc']:
if tool in tools:
continue
tools.append(tool)