changed the projects filesystem to use require() instead of loadfile()

currently preparing for a better package manager/installer
This commit is contained in:
Robert Jelic
2022-07-03 21:19:01 +02:00
parent 1f18db9965
commit c00d466b10
73 changed files with 5658 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
local basaltFileName = "basalt-source.lua"
local absolutePath = "source"
local basalt = dofile(fs.combine(absolutePath, "packager.lua")) -- path to packager
local b = fs.open(fs.combine(absolutePath, basaltFileName), "w")
b.write(basalt)
b.close()