| 123456789101112131415161718192021222324 |
- -- imports
- import("core.project.config")
- import("core.project.project")
- -- main entry
- function main ()
- -- load config
- config.load()
- -- print targets
- for _, target in pairs(project.targets()) do
- local default = target:get("default")
- if (default == nil or default == true) and target:get("kind") == "binary" then
- -- denote the start of vscode information to ignore anything logging to stdout before this point
- print("__begin__")
- print(target:name())
- break
- end
- end
- -- print end tag to ignore other deprecated/warnings infos
- print("__end__")
- end
|