mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
solve LUA_PATH overwrite problem
This commit is contained in:
parent
2dc328bf5c
commit
ca33e55ff3
4
Makefile
4
Makefile
@ -1,8 +1,8 @@
|
|||||||
LUA ?= lua5.1
|
LUA ?= lua5.1
|
||||||
LUA_VERSION = $(shell $(LUA) -e 'print(_VERSION:match("%d%.%d"))')
|
LUA_VERSION = $(shell $(LUA) -e 'print(_VERSION:match("%d%.%d"))')
|
||||||
LUAROCKS = luarocks-$(LUA_VERSION)
|
LUAROCKS = luarocks-$(LUA_VERSION)
|
||||||
LUA_PATH_MAKE = $(shell $(LUAROCKS) path --lr-path)
|
LUA_PATH_MAKE = $(shell $(LUAROCKS) path --lr-path);./?.lua;./?/init.lua
|
||||||
LUA_CPATH_MAKE = $(shell $(LUAROCKS) path --lr-cpath)
|
LUA_CPATH_MAKE = $(shell $(LUAROCKS) path --lr-cpath);./?.so
|
||||||
|
|
||||||
.PHONY: test local compile compile_system watch lint count show
|
.PHONY: test local compile compile_system watch lint count show
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user