McuSupport: Add .gitignore handling to wizard

Change-Id: I8ae5570c3011b25b00ff432627d7b76daa0f361b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Christian Stenger
2019-11-11 11:29:41 +01:00
parent c6115771f9
commit 952f4d82e5

View File

@@ -51,6 +51,11 @@
"source": "main.qml.tpl", "source": "main.qml.tpl",
"target": "%{ProjectDirectory}/%{MainQmlFile}", "target": "%{ProjectDirectory}/%{MainQmlFile}",
"openInEditor": true "openInEditor": true
},
{
"source": "%{IDE:ResourcePath}/templates/wizards/projects/git.ignore",
"target": ".gitignore",
"condition": "%{JS: !value('IsSubproject') && value('VersionControl') === 'G.Git'}"
} }
] ]
} }