Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Mark 5.2 compatibility in rockspec

Also allow running tests with custom Lua interpreter.
  • Loading branch information...
commit 4eca2d4c79d31b82b9cfec5b8ec844926c4ddd30 1 parent 987123f
@pavouk authored
Showing with 8 additions and 2 deletions.
  1. +5 −0 README.md
  2. +1 −1  rockspec.in
  3. +2 −1  tests/Makefile
View
5 README.md
@@ -10,6 +10,10 @@ license, see LICENSE file for full text.
Home of the project is on [GitHub](http://github.com/pavouk/lgi).
+LGI is tested and compatible with standard Lua 5.1 and Lua 5.2 and
+recent LuaJIT 2 betas. Compatibility with other Lua implementations
+is not tested yet.
+
## Installation:
In order to be able to compile native part of lgi,
@@ -39,6 +43,7 @@ markdown processor if you want to read it in HTML.
### 0.4 (unreleased)
+- Compatible with Lua 5.2 and LuaJIT
- Existing Gtk overrides reworked and improved, there is now a way to
describe and create widget hierarchies in Lua-friendly way. See
`docs/gtk.lua`, chapter about `Gtk.Container` for overview and
View
2  rockspec.in
@@ -19,7 +19,7 @@ source = {
tag = '%VERSION%'
}
-dependencies = { 'lua 5.1' }
+dependencies = { 'lua >= 5.1' }
build = {
type = 'make',
View
3  tests/Makefile
@@ -17,6 +17,7 @@ CCSHARED = -fPIC
endif
PKGS = gio-2.0 cairo cairo-gobject gobject-introspection-1.0
+LUA = lua
COPTFLAGS = -Wall -g
CFLAGS = $(CCSHARED) $(COPTFLAGS) $(LUA_CFLAGS) $(shell pkg-config --cflags $(PKGS))
@@ -40,7 +41,7 @@ clean :
rm -f $(REGRESS) $(REGRESS_OBJS) Regress-1.0.gir Regress-1.0.typelib
check : all
- cd .. && LD_LIBRARY_PATH=tests GI_TYPELIB_PATH=tests lua tests/test.lua
+ cd .. && LD_LIBRARY_PATH=tests GI_TYPELIB_PATH=tests $(LUA) tests/test.lua
$(REGRESS) : regress.o
$(CC) $(LDFLAGS) -o $@ regress.o $(LIBS)
Please sign in to comment.
Something went wrong with that request. Please try again.