config.lua 430 B

123456789101112131415161718
  1. -- imports
  2. import("core.project.config")
  3. -- main entry
  4. function main ()
  5. -- load config
  6. config.load()
  7. -- denote the start of vscode information to ignore anything logging to stdout before this point
  8. print("__begin__")
  9. -- print config
  10. print("{\"plat\":\"$(plat)\", \"arch\":\"$(arch)\", \"mode\":\"$(mode)\"}")
  11. -- print end tag to ignore other deprecated/warnings infos
  12. print("__end__")
  13. end