Browse files

auto download curllib

  • Loading branch information...
1 parent 8783e55 commit b35b73511fccb8e58b71243a18ffcd1ac30820f9 @fengmk2 committed Aug 10, 2012
Showing with 11 additions and 8 deletions.
  1. +1 −1 .gitignore
  2. +1 −1 .npmignore
  3. +5 −5 README.md
  4. +4 −1 build.sh
  5. BIN deps/curl-7.27.0.tar.gz
View
2 .gitignore
@@ -1,4 +1,4 @@
build/
-deps/curl-7.27.0/
+deps/*
node_modules/
.lock-wscript
View
2 .npmignore
@@ -1,4 +1,4 @@
build/
-deps/curl-7.27.0/
+deps/*
test-old/
View
10 README.md
@@ -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
View
5 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
@@ -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/*
View
BIN deps/curl-7.27.0.tar.gz
Binary file not shown.

0 comments on commit b35b735

Please sign in to comment.