Sha256: 9a7f259a289f81869311f58f3f821f53bae80da298bbcc3693fdf116fabd3a24

Contents?: true

Size: 1.48 KB

Versions: 91

Compression:

Stored size: 1.48 KB

Contents

# xLua

[![Build Status](https://travis-ci.org/exercism/xlua.svg?branch=master)](https://travis-ci.org/exercism/xlua)

Exercism exercises in Lua

## Setup Dev environment for contributing

### Mac OS

For Mac OS, you can use [homebrew][1] to install Lua and [luarocks][2]

    $ brew install lua

Then install [busted][3] testing framework for lua. Busted is similiar to Jasmine testing framework in Javascript.

    $ luarocks install busted

Then create a folder for a new test, test class and the implementation.

    → ls -l
    total 16
    -rw-r--r--@ 1 aarti  staff  1111 Nov 25 14:05 bob_test.lua
    -rw-r--r--@ 1 aarti  staff   453 Nov 25 14:05 bob.lua

Run the test

    $ busted .

Rename bob.lua to example.lua, add test to config.json

    → ls -l
    total 16
    -rw-r--r--@ 1 aarti  staff  1111 Nov 25 14:05 bob_test.lua
    -rw-r--r--@ 1 aarti  staff   453 Nov 25 14:05 example.lua

Other resources

  1. [Lua Style Guide][4]
  2. [Learn Lua in 15 minutes][5]

## Contributing Guide

Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data)

## License

The MIT License (MIT)

Copyright (c) 2014 Katrina Owen, _@kytrinyx.com

### Lua icon
The Lua icon is inspired by the [Lua logo](http://www.lua.org/images/), which was designed by Alexandre Nakonechnyj.

[1]: http://brew.sh/
[2]: http://luarocks.org/
[3]: http://olivinelabs.com/busted/
[4]: https://github.com/Olivine-Labs/lua-style-guide
[5]: http://tylerneylon.com/a/learn-lua/

Version data entries

91 entries across 91 versions & 1 rubygems

Version Path
trackler-2.0.0.0 tracks/lua/README.md
trackler-1.0.4.1 tracks/lua/README.md
trackler-1.0.4.0 tracks/lua/README.md
trackler-1.0.3.0 tracks/lua/README.md
trackler-1.0.2.1 tracks/lua/README.md
trackler-1.0.2.0 tracks/lua/README.md
trackler-1.0.1.2 tracks/lua/README.md
trackler-1.0.1.1 tracks/lua/README.md
trackler-1.0.1.0 tracks/lua/README.md
trackler-1.0.0.1 tracks/lua/README.md
trackler-1.0.0 tracks/lua/README.md