mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
add moonscript.base module for loading moonscrit without installing moonloader
This commit is contained in:
parent
610d3d5690
commit
539ae2850f
@ -25,6 +25,7 @@ build = {
|
||||
["moon"] = "moon/init.lua",
|
||||
["moon.all"] = "moon/all.lua",
|
||||
["moonscript"] = "moonscript/init.lua",
|
||||
["moonscript.base"] = "moonscript/base.lua",
|
||||
["moonscript.compile"] = "moonscript/compile.lua",
|
||||
["moonscript.compile.statement"] = "moonscript/compile/statement.lua",
|
||||
["moonscript.compile.value"] = "moonscript/compile/value.lua",
|
||||
|
2
moonscript/base.lua
Normal file
2
moonscript/base.lua
Normal file
@ -0,0 +1,2 @@
|
||||
_G.moon_no_loader = true
|
||||
return require("moonscript")
|
2
moonscript/base.moon
Normal file
2
moonscript/base.moon
Normal file
@ -0,0 +1,2 @@
|
||||
_G.moon_no_loader = true
|
||||
require "moonscript"
|
Loading…
Reference in New Issue
Block a user