Skip to content

Commit

Permalink
update: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
tammela committed Nov 9, 2019
1 parent f1a1dcb commit 3d6b254
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,22 @@ Reformats your Lua source code.
* Vim: https://github.com/andrejlevkovitch/vim-lua-format

## Install
Build from source.

### Requirements
### LuaRocks

The easiest way is to install is to use [LuaRocks](https://github.com/luarocks/luarocks).

```bash
luarocks install --server=https://luarocks.org/dev luaformatter
```

### Build from source

#### Requirements
* cmake 3.0+
* c++ 11 compiler

### Steps
#### Steps
```bash
git clone --recurse-submodules https://github.com/Koihik/LuaFormatter.git
cd LuaFormatter
Expand Down

0 comments on commit 3d6b254

Please sign in to comment.