summaryrefslogtreecommitdiff
path: root/scripts/Component.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-03-01 19:35:05 +0100
committerJose <jose@zeroc.com>2019-03-01 19:35:05 +0100
commitb6a2c82579403755fa30b48c6140edeef6d61a9f (patch)
tree7c9300fbd7fb1335dee32dd57552b18770aafaec /scripts/Component.py
parentAdd linter to generated test projects (diff)
downloadice-b6a2c82579403755fa30b48c6140edeef6d61a9f.tar.bz2
ice-b6a2c82579403755fa30b48c6140edeef6d61a9f.tar.xz
ice-b6a2c82579403755fa30b48c6140edeef6d61a9f.zip
Test fixes
Diffstat (limited to 'scripts/Component.py')
-rw-r--r--scripts/Component.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/Component.py b/scripts/Component.py
index ea9d5a4bfcd..a5feb56a581 100644
--- a/scripts/Component.py
+++ b/scripts/Component.py
@@ -234,8 +234,10 @@ for m in filter(lambda x: os.path.isdir(os.path.join(toplevel, x)), os.listdir(t
Mapping.add("typescript", TypeScriptMapping(), component, "js")
elif m == "objective-c" or re.match("objective-c-*", m):
Mapping.add(m, ObjCMapping(), component)
- elif m == "csharp" or re.match("charp-.*", m):
+ elif m == "csharp" or re.match("csharp-.*", m):
Mapping.add("csharp", CSharpMapping(), component)
+ elif m == "swift" or re.match("swift-.*", m):
+ Mapping.add("swift", SwiftMapping(), component)
if isinstance(platform, Windows):
# Windows doesn't support all the mappings, we take them out here.