[Refactor] Development rockspec, Project structure and Entry point #84

Merged
Aire-One merged 16 commits from feat/#65 into master 2023-09-18 15:20:42 +02:00
1 changed files with 15 additions and 0 deletions
Showing only changes of commit 9a75c18f4e - Show all commits

View File

@ -46,6 +46,13 @@ build:
make \
{{ rockspec_file }}
local-build:
luarocks \
--lua-version {{ lua_version }} \
make \
--tree {{ rocks_tree }} \
{{ rockspec_file }}
clean:
rm -rf build
@ -66,6 +73,14 @@ test PATTERN="_spec":
{{ rockspec_file }} \
-- --pattern={{ PATTERN }}
local-test PATTERN="_spec":
luarocks \
--lua-version {{ lua_version }} \
test \
--tree {{ rocks_tree }} \
{{ rockspec_file }} \
-- --pattern={{ PATTERN }}
# Requires a patched version of luacov (https://github.com/lunarmodules/luacov/issues/98#issuecomment-1530491759)
coverage:
busted --coverage