Skip to content

Commit 0749048

Browse files
committed
change(makefile): reverted some file.
1 parent 5fb4e7f commit 0749048

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,18 @@ install:
5757
$(INSTALL) $(C_SO_NAME) $(INST_LIBDIR)/
5858

5959

60+
### dev: Create a development ENV
61+
.PHONY: dev
62+
dev:
63+
ifeq ($(UNAME),Darwin)
64+
luarocks install --lua-dir=$(LUA_JIT_DIR) rockspec/lua-resty-radixtree-dev-1.0-0.rockspec --only-deps
65+
else ifneq ($(LUAROCKS_VER),'luarocks 3.')
66+
luarocks install rockspec/lua-resty-radixtree-dev-1.0-0.rockspec --only-deps
67+
else
68+
luarocks install --lua-dir=/usr/local/openresty/luajit rockspec/lua-resty-radixtree-dev-1.0-0.rockspec --only-deps
69+
endif
70+
71+
6072
### help: Show Makefile rules
6173
.PHONY: help
6274
help:

0 commit comments

Comments
 (0)