Skip to content

Commit f42a0e4

Browse files
committed
Prepare release and bump version numbers to 0.3.2
1 parent d3a4dd9 commit f42a0e4

File tree

3 files changed

+76
-1
lines changed

3 files changed

+76
-1
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Lua binding to [libcurl](http://curl.haxx.se/libcurl)
22
[![Build Status](https://travis-ci.org/Lua-cURL/Lua-cURLv3.svg?branch=master)](https://travis-ci.org/Lua-cURL/Lua-cURLv3)
3+
[![Build status](https://ci.appveyor.com/api/projects/status/oxiuv2u04ob391k0?svg=true)](https://ci.appveyor.com/project/moteus/lua-curlv3)
34
[![Coverage Status](https://coveralls.io/repos/Lua-cURL/Lua-cURLv3/badge.png?branch=master)](https://coveralls.io/r/Lua-cURL/Lua-cURLv3?branch=master)
45
[![Licence](http://img.shields.io/badge/Licence-MIT-brightgreen.svg)](LICENSE)
56

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ before_build:
3939

4040
build_script:
4141
- set LUA_CURL_VER=scm-0
42-
- if "%APPVEYOR_REPO_TAG%" == "true" set set LUA_CURL_VER=%APPVEYOR_REPO_TAG_NAME:~1%-1
42+
- if "%APPVEYOR_REPO_TAG%" == "true" set LUA_CURL_VER=%APPVEYOR_REPO_TAG_NAME:~1%-1
4343
- echo "Making lua-curl-%LUA_CURL_VER% ..."
4444
- luarocks make rockspecs/lua-curl-%LUA_CURL_VER%.rockspec
4545

rockspecs/lua-curl-0.3.2-1.rockspec

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
package = "Lua-cURL"
2+
version = "0.3.2-1"
3+
4+
source = {
5+
url = "https://github.com/Lua-cURL/Lua-cURLv3/archive/v0.3.2.zip",
6+
dir = "Lua-cURLv3-0.3.2",
7+
}
8+
9+
description = {
10+
summary = "Lua binding to libcurl",
11+
detailed = [[
12+
]],
13+
homepage = "https://github.com/Lua-cURL",
14+
license = "MIT/X11"
15+
}
16+
17+
dependencies = {
18+
"lua >= 5.1, < 5.4"
19+
}
20+
21+
external_dependencies = {
22+
platforms = {
23+
windows = {
24+
CURL = {
25+
header = "curl/curl.h",
26+
library = "libcurl",
27+
}
28+
};
29+
unix = {
30+
CURL = {
31+
header = "curl/curl.h",
32+
-- library = "curl",
33+
}
34+
};
35+
}
36+
}
37+
38+
build = {
39+
copy_directories = {'doc', 'examples'},
40+
41+
type = "builtin",
42+
43+
platforms = {
44+
windows = { modules = {
45+
lcurl = {
46+
libraries = {"libcurl", "ws2_32"},
47+
}
48+
}},
49+
unix = { modules = {
50+
lcurl = {
51+
libraries = {"curl"},
52+
}
53+
}}
54+
},
55+
56+
modules = {
57+
["cURL" ] = "src/lua/cURL.lua",
58+
["cURL.safe" ] = "src/lua/cURL/safe.lua",
59+
["cURL.utils" ] = "src/lua/cURL/utils.lua",
60+
["cURL.impl.cURL" ] = "src/lua/cURL/impl/cURL.lua",
61+
62+
lcurl = {
63+
sources = {
64+
"src/l52util.c", "src/lceasy.c", "src/lcerror.c",
65+
"src/lchttppost.c", "src/lcurl.c", "src/lcutils.c",
66+
"src/lcmulti.c", "src/lcshare.c",
67+
},
68+
incdirs = { "$(CURL_INCDIR)" },
69+
libdirs = { "$(CURL_LIBDIR)" }
70+
},
71+
}
72+
}
73+
74+

0 commit comments

Comments
 (0)