add Makefile
This commit is contained in:
parent
d16e31c675
commit
374871578d
2 changed files with 10 additions and 4 deletions
6
Makefile
Normal file
6
Makefile
Normal file
|
@ -0,0 +1,6 @@
|
|||
testdeps:
|
||||
luarocks-5.1 install --local luaunit
|
||||
luarocks-5.1 install --local lrexlib-PCRE2
|
||||
|
||||
test:
|
||||
luajit test.lua
|
|
@ -13,10 +13,10 @@ on top of ActivityPub implementations.
|
|||
|
||||
## Testing
|
||||
|
||||
requires luajit
|
||||
|
||||
```sh
|
||||
luarocks-5.1 install --local luaunit
|
||||
luarocks-5.1 install --local lrexlib-PCRE2
|
||||
make testdeps
|
||||
eval (luarocks-5.1 path --bin)
|
||||
# luajit works
|
||||
lua5.1 ./test.lua
|
||||
make test
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue