1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/iresty-lua-resty-etcd

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
Makefile 957
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Shuyang Wu Отправлено 16.09.2020 17:07 be36f2d
PREFIX ?= /usr/local/openresty
LUA_LIB_DIR ?= $(PREFIX)/lualib/$(LUA_VERSION)
INSTALL ?= install
### install: Install the library to runtime
.PHONY: install
install:
$(INSTALL) lib/resty/*.lua $(LUA_LIB_DIR)/resty/
### dev: Create a development ENV
.PHONY: dev
dev:
luarocks install rockspec/lua-resty-etcd-master-0.1-0.rockspec --only-deps --local
### help: Show Makefile rules
.PHONY: help
help:
@echo Makefile rules:
@echo
@grep -E '^### [-A-Za-z0-9_]+:' Makefile | sed 's/###/ /'
### lint: Lint Lua source code
.PHONY: lint
lint: utils
chmod a+x utils/check-lua-code-style.sh
./utils/check-lua-code-style.sh
### utils: Installation tools
.PHONY: utils
utils:
ifeq ("$(wildcard utils/lj-releng)", "")
wget -O utils/lj-releng https://raw.githubusercontent.com/iresty/openresty-devel-utils/master/lj-releng
chmod a+x utils/lj-releng
endif
test:
prove -I../test-nginx/lib -r -s t/

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/iresty-lua-resty-etcd.git
git@api.gitlife.ru:oschina-mirror/iresty-lua-resty-etcd.git
oschina-mirror
iresty-lua-resty-etcd
iresty-lua-resty-etcd
master