moved version to moon file

This commit is contained in:
Conor Heine 2014-05-29 12:57:47 -07:00
parent f10ec9d8ad
commit 76475da55d
2 changed files with 9 additions and 3 deletions

View File

@ -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
View File

@ -0,0 +1,8 @@
version = "0.2.5"
{
version: version,
print_version: ->
print "MoonScript version #{version}"
}