Commit 4f843aba authored by Michal Policht's avatar Michal Policht

Rearrange and improve tags and file groups.

parent 39255b65
......@@ -21,8 +21,41 @@ CommonProduct {
property string installDir: cutehmi.dirs.examplesInstallDirname + "/" + installPrefix + "/" + FileInfo.baseName(sourceDirectory)
FileTagger {
patterns: "*.qml"
fileTags: ["qml"]
patterns: "*.png"
fileTags: ["png"]
}
FileTagger {
patterns: "*.svg"
fileTags: ["svg"]
}
Group {
name: "Images"
fileTagsFilter: ["png", "svg"]
qbs.install: true
qbs.installSourceBase: sourceDirectory
qbs.installDir: installDir
}
Group {
name: "Library"
fileTagsFilter: "dynamiclibrary"
qbs.install: true
qbs.installDir: installDir
}
FileTagger {
patterns: "*.metainfo"
fileTags: ["metainfo"]
}
Group {
name: "Metainfo"
fileTagsFilter: ["metainfo"]
qbs.install: true
qbs.installSourceBase: sourceDirectory
qbs.installDir: installDir
}
FileTagger {
......@@ -31,23 +64,49 @@ CommonProduct {
}
FileTagger {
patterns: "*.xml"
fileTags: ["xml"]
patterns: "*.qml"
fileTags: ["qml"]
}
FileTagger {
patterns: "*.png"
fileTags: ["png"]
patterns: "*.qmltypes"
fileTags: ["qmltypes"]
}
FileTagger {
patterns: "*.svg"
fileTags: ["svg"]
patterns: "qmldir"
fileTags: ["qmldir"]
}
Group {
name: "QML"
fileTagsFilter: ["js", "qml", "qmldir", "qmltypes"]
qbs.install: true
qbs.installSourceBase: sourceDirectory
qbs.installDir: installDir
}
FileTagger {
patterns: ["LICENSE", "README.md"]
fileTags: ["ReadmeFiles"]
}
Group {
name: "Readme files"
fileTagsFilter: ["ReadmeFiles"]
qbs.install: true
qbs.installSourceBase: sourceDirectory
qbs.installDir: installDir
}
FileTagger {
patterns: "*.xml"
fileTags: ["xml"]
}
Group {
name: "Project files"
fileTagsFilter: ["qml", "js", "xml", "png", "svg"]
name: "XML"
fileTagsFilter: ["xml"]
qbs.install: true
qbs.installSourceBase: sourceDirectory
qbs.installDir: installDir
......
......@@ -63,9 +63,24 @@ CommonProduct {
Depends { name: "cutehmi.metadata" }
Depends { name: "cutehmi.dirs" }
Group {
name: "Library"
fileTagsFilter: "dynamiclibrary"
qbs.install: true
qbs.installDir: cutehmi.dirs.extensionInstallDirname
}
FileTagger {
patterns: "*.qml"
fileTags: ["qml"]
patterns: "*.metainfo"
fileTags: ["metainfo"]
}
Group {
name: "Metainfo"
fileTagsFilter: ["metainfo"]
qbs.install: true
qbs.installSourceBase: sourceDirectory
qbs.installDir: installDir
}
FileTagger {
......@@ -74,8 +89,8 @@ CommonProduct {
}
FileTagger {
patterns: "qmldir"
fileTags: ["qmldir"]
patterns: "*.qml"
fileTags: ["qml"]
}
FileTagger {
......@@ -84,30 +99,23 @@ CommonProduct {
}
FileTagger {
patterns: "*.metainfo"
fileTags: ["metainfo"]
}
FileTagger {
patterns: ["LICENSE", "README.md"]
fileTags: ["ReadmeFiles"]
}
Group {
name: "Library"
fileTagsFilter: "dynamiclibrary"
qbs.install: true
qbs.installDir: cutehmi.dirs.extensionInstallDirname
patterns: "qmldir"
fileTags: ["qmldir"]
}
Group {
name: "QML"
fileTagsFilter: ["qml", "js", "qmldir", "qmltypes", "metainfo"]
fileTagsFilter: ["js", "qml", "qmldir", "qmltypes"]
qbs.install: true
qbs.installSourceBase: sourceDirectory
qbs.installDir: installDir
}
FileTagger {
patterns: ["LICENSE", "README.md"]
fileTags: ["ReadmeFiles"]
}
Group {
name: "Readme files"
fileTagsFilter: ["ReadmeFiles"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment