From 2a0eb3cba344a057cf3069fef64ffa92f3314801 Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Fri, 12 Sep 2014 05:42:30 -0400 Subject: Make outputFileTags a static list in TypeScriptModule. Change-Id: I34fa295f9ea577cf729e3c1f407521413abb90b1 Reviewed-by: Joerg Bornemann --- share/qbs/modules/typescript/TypeScriptModule.qbs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'share/qbs/modules/typescript') diff --git a/share/qbs/modules/typescript/TypeScriptModule.qbs b/share/qbs/modules/typescript/TypeScriptModule.qbs index 8f80b7ce6..5e2e6d9de 100644 --- a/share/qbs/modules/typescript/TypeScriptModule.qbs +++ b/share/qbs/modules/typescript/TypeScriptModule.qbs @@ -163,16 +163,7 @@ Module { return artifacts; } - outputFileTags: { - var fileTags = ["js", "compiled_typescript"]; - if (product.moduleProperty("nodejs", "applicationFile")) - fileTags.push("application_js"); - if (product.moduleProperty("typescript", "generateDeclarations")) - fileTags.push("typescript_declaration"); - if (product.moduleProperty("typescript", "generateSourceMaps")) - fileTags.push("source_map"); - return fileTags; - } + outputFileTags: ["application_js", "compiled_typescript", "js", "source_map", "typescript_declaration"] prepare: { var i; -- cgit v1.2.3