Sha256: 198298e232fdb23f8a4a92cecc18abe0d467ce6690e5822e9b97f9ab2563e301

Contents?: true

Size: 1.18 KB

Versions: 245

Compression:

Stored size: 1.18 KB

Contents

## Installing Lua

-   [MacOS](#mac)
-   [Ubuntu](#ubuntu)
-   [Windows](#windows)

#### [MacOS](#mac)

First install Lua and [Luarocks][2] using [Homebrew][1]:

```shell
$ brew install lua
```

Then install the [Busted][3] testing framework for Lua:

```shell
$ luarocks install busted
```

Then run your tests:

```shell
$ busted .
```

#### [Ubuntu](#ubuntu)

First install Lua and [Luarocks][2] using [Apt][6]:

```shell
$ sudo apt-get install lua5.3 luarocks
```

Then install the [Busted][3] testing framework for Lua:

```shell
$ luarocks install busted
```

If this fails, you may need to use `sudo`:

```shell
$ sudo luarocks install busted
```

Then run your tests:

```shell
$ busted .
```

#### [Windows](#windows)

First install Lua and [Luarocks][2] using [Chocolatey][7]:

    C:\> choco install lua

Then install the [Busted][3] testing framework for Lua:

    C:\> luarocks install busted

Then run your tests:

    C:\> busted .

[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/

[6]: https://help.ubuntu.com/lts/serverguide/apt.html

[7]: http://chocolatey.org/

Version data entries

245 entries across 245 versions & 1 rubygems

Version Path
trackler-2.2.1.35 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.34 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.33 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.32 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.31 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.30 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.29 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.28 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.27 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.26 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.25 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.24 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.23 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.22 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.21 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.20 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.19 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.18 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.17 tracks/lua/docs/INSTALLATION.md
trackler-2.2.1.16 tracks/lua/docs/INSTALLATION.md