diff options
-rw-r--r-- | README.md | 14 | ||||
-rw-r--r-- | rockspec/moses-2.0.0-1.rockspec | 26 |
2 files changed, 33 insertions, 7 deletions
@@ -48,8 +48,8 @@ Feel free to download and try it on your own! ## Download ### Archive -* __zip__: [1.6.1 (stable)](http://github.com/Yonaba/Moses/archive/Moses-1.6.1-1.zip) | [dev](http://github.com/Yonaba/Moses/archive/master.zip) | [all releases](http://github.com/Yonaba/Moses/tags) -* __tarball__: [1.6.1 (stable)](http://github.com/Yonaba/Moses/archive/Moses-1.6.1-1.tar.gz) | [dev](http://github.com/Yonaba/Moses/archive/master.tar.gz) | [all releases](http://github.com/Yonaba/Moses/tags) +* __2.0.0__ *(latest stable)*: [zip](http://github.com/Yonaba/Moses/archive/Moses-2.0.0-1.zip) | [tar.gz](http://github.com/Yonaba/Moses/archive/Moses-2.0.0-1.tar.gz) +* __Previous versions__ : [tags](http://github.com/Yonaba/Moses/tags) ### Bash @@ -58,20 +58,21 @@ git clone git://github.com/Yonaba/Moses.git ```` ### LuaRocks -``` + +```` luarocks install moses ```` ### MoonRocks -```bash +```` moonrocks install moses ```` ## Usage ```lua -local _ = require "moses" +local M = require "moses" ```` *Note:* the full source [moses.lua](https://github.com/Yonaba/Moses/blob/master/moses.lua) is quite heavy (~83 kiB, 2780 LOC). You can alternatively use the [minified version](https://github.com/Yonaba/Moses/blob/master/moses_min.lua) (~32 kiB, 521 LOC). @@ -82,8 +83,7 @@ Find a complete set of code examples in [tutorial.md](https://github.com/Yonaba/ ## Documentation -* See *doc* folder : [doc](https://github.com/Yonaba/Moses/blob/master/doc) -* Or browse it online : see [online doc](http://yonaba.github.io/Moses/doc). +* Read it [online](http://yonaba.github.io/Moses/doc). ## Credits and Acknowledgement diff --git a/rockspec/moses-2.0.0-1.rockspec b/rockspec/moses-2.0.0-1.rockspec new file mode 100644 index 0000000..5697690 --- /dev/null +++ b/rockspec/moses-2.0.0-1.rockspec @@ -0,0 +1,26 @@ +package = "moses" +version = "2.0.0-1" +source = { + url = "https://github.com/Yonaba/Moses/archive/Moses-2.0.0-1.tar.gz", + dir = "Moses-Moses-2.0.0-1" +} +description = { + summary = "Utility-belt library for functional programming in Lua", + detailed = [[ + A utility-belt library for functional programming, which complements the built-in + Lua table library, making easier operations on arrays, lists, collections. + ]], + homepage = "http://yonaba.github.com/Moses/", + license = "MIT <http://www.opensource.org/licenses/mit-license.php>" +} +dependencies = { + "lua >= 5.1, < 5.4" +} +build = { + type = "builtin", + modules = { + ["moses"] = "moses.lua", + ["moses_min"] = "moses_min.lua", + }, + copy_directories = {"doc","spec"} +}
\ No newline at end of file |