Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@
[submodule "third-party/luajit20"]
path = third-party/luajit20
url = https://luajit.org/git/luajit.git
[submodule "third-party/luau"]
path = third-party/luau
url = https://github.com/luau-lang/luau
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,16 @@ all: local
local:
LUPA_WITH_LUA_DLOPEN=$(WITH_LUA_DLOPEN) ${PYTHON} setup.py build_ext --inplace $(WITH_PARALLEL) $(WITH_CYTHON)

local_luau:
LUPA_WITH_LUA_DLOPEN=$(WITH_LUA_DLOPEN) ${PYTHON} setup.py --use-luau build_ext --inplace $(WITH_PARALLEL) $(WITH_CYTHON)

sdist dist/lupa-$(VERSION).tar.gz:
${PYTHON} setup.py sdist

test: local
PYTHONPATH=. $(PYTHON) -m unittest -v lupa.tests.suite
test_luau: local_luau
PYTHONPATH=. $(PYTHON) -m unittest -v lupa.tests.suite

clean:
rm -fr build lupa/_lupa*.so lupa/lua*.pyx lupa/*.c
Expand Down
Loading