Skip to content

Commit

Permalink
auto download curllib
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Aug 10, 2012
1 parent 8783e55 commit b35b735
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,4 +1,4 @@
build/
deps/curl-7.27.0/
deps/*
node_modules/
.lock-wscript
2 changes: 1 addition & 1 deletion .npmignore
@@ -1,4 +1,4 @@
build/
deps/curl-7.27.0/
deps/*
test-old/

10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -114,12 +114,12 @@ Below is the output from `git-summary`

```
project: node-curl
commits: 25
active : 5 days
files : 21
commits: 33
active : 8 days
files : 24
authors:
21 赵成 84.0%
4 fengmk2 16.0%
21 赵成 63.6%
12 fengmk2 36.4%
```

## License
Expand Down
5 changes: 4 additions & 1 deletion build.sh
@@ -1,5 +1,6 @@
cd deps
rm -rf curl
curl -o curl-7.27.0.tar.gz http://curl.haxx.se/download/curl-7.27.0.tar.gz
tar zxf curl-7.27.0.tar.gz
mv curl-7.27.0 curl
cd curl
Expand All @@ -19,4 +20,6 @@ fi
gcc -o build/Release/node_curl.node build/Release/obj.target/node_curl/src/curl.o \
build/Release/obj.target/node_curl/src/main.o \
build/Release/obj.target/node_curl/src/request.o \
"deps/curl/lib/.libs/libcurl.a" -shared $EXTRA_FLAG
"deps/curl/lib/.libs/libcurl.a" -shared $EXTRA_FLAG

rm -rf deps/*
Binary file removed deps/curl-7.27.0.tar.gz
Binary file not shown.

0 comments on commit b35b735

Please sign in to comment.