From 952f4d82e56efebb6ca7be7e643965b3222e0ee0 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Mon, 11 Nov 2019 11:29:41 +0100 Subject: [PATCH] McuSupport: Add .gitignore handling to wizard Change-Id: I8ae5570c3011b25b00ff432627d7b76daa0f361b Reviewed-by: Alessandro Portale --- src/plugins/mcusupport/wizards/application/wizard.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plugins/mcusupport/wizards/application/wizard.json b/src/plugins/mcusupport/wizards/application/wizard.json index 4583b48c2ba..5e512f420a4 100644 --- a/src/plugins/mcusupport/wizards/application/wizard.json +++ b/src/plugins/mcusupport/wizards/application/wizard.json @@ -51,6 +51,11 @@ "source": "main.qml.tpl", "target": "%{ProjectDirectory}/%{MainQmlFile}", "openInEditor": true + }, + { + "source": "%{IDE:ResourcePath}/templates/wizards/projects/git.ignore", + "target": ".gitignore", + "condition": "%{JS: !value('IsSubproject') && value('VersionControl') === 'G.Git'}" } ] }