plats.lua 433 B

12345678910111213141516171819
  1. -- imports=
  2. import("core.platform.platform")
  3. -- main entry
  4. function main ()
  5. local plats = platform.plats()
  6. -- denote the start of vscode information to ignore anything logging to stdout before this point
  7. print("__begin__")
  8. if plats then
  9. for _, plat in ipairs(plats) do
  10. print(plat)
  11. end
  12. end
  13. -- print end tag to ignore other deprecated/warnings infos
  14. print("__end__")
  15. end