We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee7af1a commit d43b343Copy full SHA for d43b343
Makefile
@@ -0,0 +1,18 @@
1
+OPENRESTY_PREFIX=/usr/local/openresty
2
+
3
+PREFIX ?= /usr/local
4
+LUA_INCLUDE_DIR ?= $(PREFIX)/include
5
+LUA_LIB_DIR ?= $(PREFIX)/lib/lua/$(LUA_VERSION)
6
+INSTALL ?= install
7
8
+.PHONY: all test install
9
10
+all: ;
11
12
+install: all
13
+ $(INSTALL) -d $(DESTDIR)/$(LUA_LIB_DIR)/resty/websocket
14
+ $(INSTALL) lib/resty/websocket/*.lua $(DESTDIR)/$(LUA_LIB_DIR)/resty/websocket/
15
16
+test: all
17
+ PATH=$(OPENRESTY_PREFIX)/nginx/sbin:$$PATH prove -I../test-nginx/lib -r t
18
0 commit comments