diff --git a/candran.can b/candran.can index 232878f..8708290 100644 --- a/candran.can +++ b/candran.can @@ -10,7 +10,7 @@ #import("lib.lua-parser.parser") local candran = { - VERSION = "0.7.0-dev" + VERSION = "0.7.0" } --- Default options. diff --git a/candran.lua b/candran.lua index 31fbb23..2b166ee 100644 --- a/candran.lua +++ b/candran.lua @@ -2931,7 +2931,7 @@ return parser -- ./lib/lua-parser/parser.lua:685 end -- ./lib/lua-parser/parser.lua:685 local parser = _() or parser -- ./lib/lua-parser/parser.lua:689 package["loaded"]["lib.lua-parser.parser"] = parser or true -- ./lib/lua-parser/parser.lua:690 -local candran = { ["VERSION"] = "0.7.0-dev" } -- candran.can:13 +local candran = { ["VERSION"] = "0.7.0" } -- candran.can:13 candran["default"] = { -- candran.can:17 ["target"] = "lua53", -- candran.can:18 ["indentation"] = "", -- candran.can:19 diff --git a/rockspec/candran-0.7.0-1.rockspec b/rockspec/candran-0.7.0-1.rockspec new file mode 100644 index 0000000..9fce230 --- /dev/null +++ b/rockspec/candran-0.7.0-1.rockspec @@ -0,0 +1,37 @@ +package = "candran" + +version = "0.7.0-1" + +description = { + summary = "A simple Lua dialect and preprocessor.", + detailed = [[ + Candran is a dialect of the Lua 5.3 programming language which compiles to Lua 5.3 and Lua 5.1/LuaJit. It adds several useful syntax additions which aims to make Lua faster and easier to write, and a simple preprocessor. + Unlike Moonscript, Candran tries to stay close to the Lua syntax, and existing Lua code can run on Candran unmodified. + ]], + license = "MIT", + homepage = "https://github.com/Reuh/candran", + --issues_url = "https://github.com/Reuh/candran", -- LuaRocks 3.0 + maintainer = "Étienne 'Reuh' Fildadut ", + --labels = {} -- LuaRocks 3.0 +} + +source = { + url = "git://github.com/Reuh/candran", + tag = "v0.7.0" +} + +dependencies = { + "lua >= 5.1", + "lpeglabel >= 1.5.0" +} + +build = { + type = "builtin", + modules = { + candran = "candran.lua" + }, + install = { + bin = { "bin/can", "bin/canc" } + } + --copy_directories = { "doc", "test" } +}