forked from qt-creator/qt-creator
Lua: Add lua plugins to qbs build
Change-Id: I4c8428e64c5e322582742e686bf921ebea7df842 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
12
qbs/imports/QtcLuaPlugin.qbs
Normal file
12
qbs/imports/QtcLuaPlugin.qbs
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
Product {
|
||||||
|
Depends { name: "qtc" }
|
||||||
|
|
||||||
|
property stringList luafiles
|
||||||
|
|
||||||
|
Group {
|
||||||
|
prefix: sourceDirectory + '/' + product.name + '/'
|
||||||
|
files: luafiles
|
||||||
|
qbs.install: true
|
||||||
|
qbs.installDir: qtc.ide_plugin_path + '/lua-plugins/' + product.name
|
||||||
|
}
|
||||||
|
}
|
8
src/plugins/lualsp/lualsp.qbs
Normal file
8
src/plugins/lualsp/lualsp.qbs
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
QtcLuaPlugin {
|
||||||
|
name: "lualsp"
|
||||||
|
|
||||||
|
luafiles: [
|
||||||
|
"init.lua",
|
||||||
|
"lualsp.lua",
|
||||||
|
]
|
||||||
|
}
|
13
src/plugins/luatests/luatests.qbs
Normal file
13
src/plugins/luatests/luatests.qbs
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
QtcLuaPlugin {
|
||||||
|
name: "luatests"
|
||||||
|
|
||||||
|
luafiles: [
|
||||||
|
"inspect.lua",
|
||||||
|
"luatests.lua",
|
||||||
|
"qtctest.lua",
|
||||||
|
"tests.lua",
|
||||||
|
"tst_aspectcontainer.lua",
|
||||||
|
"tst_fetch.lua",
|
||||||
|
"tst_utils.lua",
|
||||||
|
]
|
||||||
|
}
|
@@ -55,6 +55,8 @@ Project {
|
|||||||
"languageclient/languageclient.qbs",
|
"languageclient/languageclient.qbs",
|
||||||
"languageclient/lualanguageclient/lualanguageclient.qbs",
|
"languageclient/lualanguageclient/lualanguageclient.qbs",
|
||||||
"lua/lua.qbs",
|
"lua/lua.qbs",
|
||||||
|
"lualsp/lualsp.qbs",
|
||||||
|
"luatests/luatests.qbs",
|
||||||
"macros/macros.qbs",
|
"macros/macros.qbs",
|
||||||
"marketplace/marketplace.qbs",
|
"marketplace/marketplace.qbs",
|
||||||
"mcusupport/mcusupport.qbs",
|
"mcusupport/mcusupport.qbs",
|
||||||
@@ -79,6 +81,7 @@ Project {
|
|||||||
"qtsupport/qtsupport.qbs",
|
"qtsupport/qtsupport.qbs",
|
||||||
"remotelinux/remotelinux.qbs",
|
"remotelinux/remotelinux.qbs",
|
||||||
"resourceeditor/resourceeditor.qbs",
|
"resourceeditor/resourceeditor.qbs",
|
||||||
|
"rustls/rustls.qbs",
|
||||||
"saferenderer/saferenderer.qbs",
|
"saferenderer/saferenderer.qbs",
|
||||||
"screenrecorder/screenrecorder.qbs",
|
"screenrecorder/screenrecorder.qbs",
|
||||||
"scxmleditor/scxmleditor.qbs",
|
"scxmleditor/scxmleditor.qbs",
|
||||||
@@ -87,6 +90,7 @@ Project {
|
|||||||
"squish/squish.qbs",
|
"squish/squish.qbs",
|
||||||
"studiowelcome/studiowelcome.qbs",
|
"studiowelcome/studiowelcome.qbs",
|
||||||
"subversion/subversion.qbs",
|
"subversion/subversion.qbs",
|
||||||
|
"tellajoke/tellajoke.qbs",
|
||||||
"terminal/terminal.qbs",
|
"terminal/terminal.qbs",
|
||||||
"texteditor/texteditor.qbs",
|
"texteditor/texteditor.qbs",
|
||||||
"todo/todo.qbs",
|
"todo/todo.qbs",
|
||||||
|
8
src/plugins/rustls/rustls.qbs
Normal file
8
src/plugins/rustls/rustls.qbs
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
QtcLuaPlugin {
|
||||||
|
name: "rustls"
|
||||||
|
|
||||||
|
luafiles: [
|
||||||
|
"init.lua",
|
||||||
|
"rustls.lua",
|
||||||
|
]
|
||||||
|
}
|
5
src/plugins/tellajoke/tellajoke.qbs
Normal file
5
src/plugins/tellajoke/tellajoke.qbs
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
QtcLuaPlugin {
|
||||||
|
name: "tellajoke"
|
||||||
|
|
||||||
|
luafiles: "tellajoke.lua"
|
||||||
|
}
|
Reference in New Issue
Block a user