Remove date option for issue #8.
This commit is contained in:
parent
c2708fa8a5
commit
844c70636b
3 changed files with 3 additions and 2 deletions
|
@ -28,6 +28,7 @@ Quick Start
|
||||||
* run the example/test.js
|
* run the example/test.js
|
||||||
|
|
||||||
node examples/test.js
|
node examples/test.js
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "node-curl",
|
"name": "node-curl",
|
||||||
"version": "0.1.4",
|
"version": "0.1.4.1",
|
||||||
"author" : "Jiang Miao <jiangfriend@gmail.com>",
|
"author" : "Jiang Miao <jiangfriend@gmail.com>",
|
||||||
"description": "node wrapper for multi curl, fully implemented.",
|
"description": "node wrapper for multi curl, fully implemented.",
|
||||||
"keywords" : ["node-curl", "curl", "multi-curl", "mcurl"],
|
"keywords" : ["node-curl", "curl", "multi-curl", "mcurl"],
|
||||||
|
|
|
@ -8,7 +8,7 @@ generate() {
|
||||||
prefix=$3
|
prefix=$3
|
||||||
echo "generate $root/$name.h"
|
echo "generate $root/$name.h"
|
||||||
(
|
(
|
||||||
echo "// generated by $0 at $(date -R)"
|
echo "// generated by $0 at $(date)"
|
||||||
echo "CurlOption $name[] = {"
|
echo "CurlOption $name[] = {"
|
||||||
cat /usr/include/curl/curl.h|perl -ne "/$pattern/i && print \"\t{\\\"\$1\\\", CURL${prefix}_\$1},\n\""
|
cat /usr/include/curl/curl.h|perl -ne "/$pattern/i && print \"\t{\\\"\$1\\\", CURL${prefix}_\$1},\n\""
|
||||||
echo '};'
|
echo '};'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue