Guard.lua

Minimalistic library providing Elixir-style guards for Lua

View the Project on GitHub Yonaba/guard.lua

guard.lua

Build Status Coverage Status Lua License

Minimalistic library providing Elixir-style guards for Lua.

Download and Install

Archive

Current release is 0.0.1. See other releases.

Bash

This will clone the repository, as-is, and deliver the cutting edge release. Might be unstable.

git clone git://github.com/Yonaba/guard.lua.git

LuaRocks

This will download and install the latest stable release from Luarocks servers.

luarocks install guard

Documentation

Find the project page at yonaba.github.io/guard.lua.
A full documentation is available on the wiki.

Specification

You can run the included specs with Telescope using the following command from Lua from the root foolder:

lua tsc -f specs/*

License

This work is MIT-Licensed.