mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
moved version to moon file
This commit is contained in:
parent
f10ec9d8ad
commit
76475da55d
@ -1,9 +1,7 @@
|
||||
|
||||
local version = "0.2.5"
|
||||
|
||||
return {
|
||||
version = version,
|
||||
print_version = function()
|
||||
print("MoonScript version "..version)
|
||||
return print("MoonScript version " .. tostring(version))
|
||||
end
|
||||
}
|
||||
|
8
moonscript/version.moon
Normal file
8
moonscript/version.moon
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
version = "0.2.5"
|
||||
|
||||
{
|
||||
version: version,
|
||||
print_version: ->
|
||||
print "MoonScript version #{version}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user