Prepare release and bump version numbers to 0.3.2
This commit is contained in:
parent
d3a4dd9bdd
commit
f42a0e48b1
@ -1,5 +1,6 @@
|
||||
# Lua binding to [libcurl](http://curl.haxx.se/libcurl)
|
||||
[](https://travis-ci.org/Lua-cURL/Lua-cURLv3)
|
||||
[](https://ci.appveyor.com/project/moteus/lua-curlv3)
|
||||
[](https://coveralls.io/r/Lua-cURL/Lua-cURLv3?branch=master)
|
||||
[](LICENSE)
|
||||
|
||||
|
@ -39,7 +39,7 @@ before_build:
|
||||
|
||||
build_script:
|
||||
- set LUA_CURL_VER=scm-0
|
||||
- if "%APPVEYOR_REPO_TAG%" == "true" set set LUA_CURL_VER=%APPVEYOR_REPO_TAG_NAME:~1%-1
|
||||
- if "%APPVEYOR_REPO_TAG%" == "true" set LUA_CURL_VER=%APPVEYOR_REPO_TAG_NAME:~1%-1
|
||||
- echo "Making lua-curl-%LUA_CURL_VER% ..."
|
||||
- luarocks make rockspecs/lua-curl-%LUA_CURL_VER%.rockspec
|
||||
|
||||
|
74
rockspecs/lua-curl-0.3.2-1.rockspec
Normal file
74
rockspecs/lua-curl-0.3.2-1.rockspec
Normal file
@ -0,0 +1,74 @@
|
||||
package = "Lua-cURL"
|
||||
version = "0.3.2-1"
|
||||
|
||||
source = {
|
||||
url = "https://github.com/Lua-cURL/Lua-cURLv3/archive/v0.3.2.zip",
|
||||
dir = "Lua-cURLv3-0.3.2",
|
||||
}
|
||||
|
||||
description = {
|
||||
summary = "Lua binding to libcurl",
|
||||
detailed = [[
|
||||
]],
|
||||
homepage = "https://github.com/Lua-cURL",
|
||||
license = "MIT/X11"
|
||||
}
|
||||
|
||||
dependencies = {
|
||||
"lua >= 5.1, < 5.4"
|
||||
}
|
||||
|
||||
external_dependencies = {
|
||||
platforms = {
|
||||
windows = {
|
||||
CURL = {
|
||||
header = "curl/curl.h",
|
||||
library = "libcurl",
|
||||
}
|
||||
};
|
||||
unix = {
|
||||
CURL = {
|
||||
header = "curl/curl.h",
|
||||
-- library = "curl",
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
build = {
|
||||
copy_directories = {'doc', 'examples'},
|
||||
|
||||
type = "builtin",
|
||||
|
||||
platforms = {
|
||||
windows = { modules = {
|
||||
lcurl = {
|
||||
libraries = {"libcurl", "ws2_32"},
|
||||
}
|
||||
}},
|
||||
unix = { modules = {
|
||||
lcurl = {
|
||||
libraries = {"curl"},
|
||||
}
|
||||
}}
|
||||
},
|
||||
|
||||
modules = {
|
||||
["cURL" ] = "src/lua/cURL.lua",
|
||||
["cURL.safe" ] = "src/lua/cURL/safe.lua",
|
||||
["cURL.utils" ] = "src/lua/cURL/utils.lua",
|
||||
["cURL.impl.cURL" ] = "src/lua/cURL/impl/cURL.lua",
|
||||
|
||||
lcurl = {
|
||||
sources = {
|
||||
"src/l52util.c", "src/lceasy.c", "src/lcerror.c",
|
||||
"src/lchttppost.c", "src/lcurl.c", "src/lcutils.c",
|
||||
"src/lcmulti.c", "src/lcshare.c",
|
||||
},
|
||||
incdirs = { "$(CURL_INCDIR)" },
|
||||
libdirs = { "$(CURL_LIBDIR)" }
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user