From b938a9ecc4dffa523c71cc266ffadd0a17595c00 Mon Sep 17 00:00:00 2001 From: Yuansheng Wang Date: Wed, 8 May 2019 15:07:18 +0800 Subject: [PATCH] luarocks: added the script to install by luarocks. --- lua-resty-etcd-0.1-0.rockspec | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 lua-resty-etcd-0.1-0.rockspec diff --git a/lua-resty-etcd-0.1-0.rockspec b/lua-resty-etcd-0.1-0.rockspec new file mode 100644 index 00000000..0dd18217 --- /dev/null +++ b/lua-resty-etcd-0.1-0.rockspec @@ -0,0 +1,22 @@ +package = "lua-resty-etcd" +version = "0.1-0" +source = { + url = "git://github.com/pintsized/lua-resty-http", + tag = "v0.1" +} +description = { + summary = "Nonblocking Lua etcd driver library for OpenResty", + homepage = "https://github.com/iresty/lua-resty-etcd", + license = "Apache License 2.0", + maintainer = "Yuansheng Wang " +} +dependencies = { + "lua >= 5.1" +} +build = { + type = "builtin", + modules = { + ["resty.etcd"] = "lib/resty/etcd.lua", + ["resty.etcd.typeof"] = "lib/resty/etcd/typeof.lua" + } +}