changed the projects filesystem to use require() instead of loadfile()
currently preparing for a better package manager/installer
This commit is contained in:
7
oldVersions/lastVersion/source/compiler.lua
Normal file
7
oldVersions/lastVersion/source/compiler.lua
Normal 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()
|
||||
Reference in New Issue
Block a user