mirror of
https://github.com/kanaka/mal.git
synced 2024-09-11 21:57:38 +03:00
Add lrexlib-pcre through luarocks.
This commit is contained in:
parent
783823f191
commit
a62a56f535
1
impls/.gitignore
vendored
1
impls/.gitignore
vendored
@ -81,6 +81,7 @@ kotlin/.idea
|
|||||||
kotlin/*.iml
|
kotlin/*.iml
|
||||||
lua/lib
|
lua/lib
|
||||||
lua/linenoise.so
|
lua/linenoise.so
|
||||||
|
lua/rex_pcre.so
|
||||||
lua/mal.lua
|
lua/mal.lua
|
||||||
make/mal.mk
|
make/mal.mk
|
||||||
mal/mal.mal
|
mal/mal.mal
|
||||||
|
@ -23,13 +23,17 @@ mal: mal.lua
|
|||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f linenoise.so mal.lua mal
|
rm -f linenoise.so rex_pcre.so mal.lua mal
|
||||||
rm -rf lib
|
rm -rf lib
|
||||||
|
|
||||||
.PHONY: libs
|
.PHONY: libs
|
||||||
libs: linenoise.so
|
libs: linenoise.so rex_pcre.so
|
||||||
|
|
||||||
linenoise.so:
|
linenoise.so:
|
||||||
luarocks install --tree=./ linenoise
|
luarocks install --tree=./ linenoise
|
||||||
ln -sf $$(find . -name linenoise.so) $@
|
ln -sf $$(find . -name linenoise.so) $@
|
||||||
|
|
||||||
|
rex_pcre.so:
|
||||||
|
luarocks install --tree=./ lrexlib-pcre
|
||||||
|
ln -sf $$(find . -name rex_pcre.so) $@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user