We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fb4e7f commit 0749048Copy full SHA for 0749048
Makefile
@@ -57,6 +57,18 @@ install:
57
$(INSTALL) $(C_SO_NAME) $(INST_LIBDIR)/
58
59
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
72
### help: Show Makefile rules
73
.PHONY: help
74
help:
0 commit comments