init.lua 339 B

1234567891011121314151617
  1. -- Compile webide files
  2. if file.exists("webide-compile.lc") then
  3. dofile("webide-compile.lc")
  4. else
  5. dofile("webide-compile.lua")
  6. end
  7. if file.exists("startup.lua") then
  8. dofile("startup.lua")
  9. end
  10. -- Run httpserver
  11. if file.exists("httpserver-start.lc") then
  12. dofile("httpserver-start.lc")
  13. else
  14. dofile("httpserver-start.lua")
  15. end