Skip to content

Commit

Permalink
chore: changed luarocks build to luarocks make and added installation…
Browse files Browse the repository at this point in the history
… instructions
  • Loading branch information
jonasgeiler committed Apr 9, 2024
1 parent 9ebe953 commit 1937b62
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
- name: Setup LuaRocks
uses: hishamhm/gh-actions-luarocks@master

- name: Run luarocks build
run: luarocks build
- name: Run luarocks make
run: luarocks make
# Currently does not work for LuaJIT on Windows (lua library not found)
if: matrix.os != 'windows-latest' || matrix.lua_version != 'luajit'

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# !IMPORTANT!
# I created this file for CLion and it works on my machine, but you should rather use `luarocks build` to build the library.
# I created this file for CLion and it works on my machine, but you should rather use `luarocks make` to build the library.
# I really don't have any experience with Makefiles, so I can't guarantee that it will work on your machine.
#

Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

WIP

## Installation

From LuaRocks server:
```shell
luarocks install fenster
```

From source:
```shell
git clone https://github.com/jonasgeiler/lua-fenster.git
cd lua-fenster
luarocks make
```

## Notes

API planning:
Expand Down

0 comments on commit 1937b62

Please sign in to comment.