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.6.35 tracks/lua/README.md
trackler-2.0.6.34 tracks/lua/README.md
trackler-2.0.6.33 tracks/lua/README.md
trackler-2.0.6.32 tracks/lua/README.md
trackler-2.0.6.31 tracks/lua/README.md
trackler-2.0.6.30 tracks/lua/README.md
trackler-2.0.6.29 tracks/lua/README.md
trackler-2.0.6.28 tracks/lua/README.md
trackler-2.0.6.27 tracks/lua/README.md
trackler-2.0.6.26 tracks/lua/README.md
trackler-2.0.6.25 tracks/lua/README.md
trackler-2.0.6.24 tracks/lua/README.md
trackler-2.0.6.23 tracks/lua/README.md
trackler-2.0.6.22 tracks/lua/README.md
trackler-2.0.6.21 tracks/lua/README.md
trackler-2.0.6.20 tracks/lua/README.md
trackler-2.0.6.19 tracks/lua/README.md
trackler-2.0.6.18 tracks/lua/README.md
trackler-2.0.6.17 tracks/lua/README.md
trackler-2.0.6.16 tracks/lua/README.md