1 Star 1 Fork 1

iresty / lua-var-nginx-module

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 643 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
OPENRESTY_PREFIX=/usr/local/openresty
PREFIX ?= /usr/local
LUA_INCLUDE_DIR ?= $(PREFIX)/include
LUA_LIB_DIR ?= $(PREFIX)/lualib/$(LUA_VERSION)
INSTALL ?= install
test = t/
.PHONY: all test install
install:
$(INSTALL) -d $(DESTDIR)$(LUA_LIB_DIR)/resty/ngxvar/
$(INSTALL) -m664 lib/resty/ngxvar/*.lua $(DESTDIR)$(LUA_LIB_DIR)/resty/ngxvar/
$(INSTALL) -m664 lib/resty/*.lua $(DESTDIR)$(LUA_LIB_DIR)/resty/
test:
PATH=$(OPENRESTY_PREFIX)/nginx/sbin:$$PATH prove -I../test-nginx/lib -r $(test)
### lint: Lint Lua source code
.PHONY: lint
lint:
luacheck -q lib
lj-releng lib/resty/*.lua
lj-releng lib/resty/ngxvar/*.lua
Lua
1
https://gitee.com/iresty/lua-var-nginx-module.git
git@gitee.com:iresty/lua-var-nginx-module.git
iresty
lua-var-nginx-module
lua-var-nginx-module
master

搜索帮助

14c37bed 8189591 565d56ea 8189591