Refactor socket into socket.lua

This commit is contained in:
2022-09-22 21:32:31 +02:00
parent 226aba437a
commit fb22cc7528
6 changed files with 102 additions and 81 deletions

View File

@@ -1,5 +1,5 @@
local path = "{{ deploy_path }}"
files = { "main.lua", "json.lua", "framebuffer.lua", "ringbuffer.lua" }
files = { "main.lua", "json.lua", "framebuffer.lua", "ringbuffer.lua", "socket.lua" }
for _, file in ipairs(files) do
fs.delete(file)
shell.run(("wget %s/lua/%s"):format(path, file))