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
|
## Testing
|
||||||
|
|
||||||
|
requires luajit
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
luarocks-5.1 install --local luaunit
|
make testdeps
|
||||||
luarocks-5.1 install --local lrexlib-PCRE2
|
|
||||||
eval (luarocks-5.1 path --bin)
|
eval (luarocks-5.1 path --bin)
|
||||||
# luajit works
|
make test
|
||||||
lua5.1 ./test.lua
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue