Skip to content

Commit dcd3ac6

Browse files
committed
npm is not smart about git submodule update. node-db should have a package.json
1 parent b355938 commit dcd3ac6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "lib/node-db"]
22
path = lib/node-db
3-
url = git://github.com/mariano/node-db.git
3+
url = git://github.com/imkira/node-db.git

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
]
1919
, "main" : "./db-mysql"
2020
, "scripts" :
21-
{ "install": "node-waf configure build"
21+
{ "preinstall": "git clone -b bigint_pre_libuv git://github.com/imkira/node-db.git lib/node-db"
22+
, "install": "node-waf configure build"
2223
, "preuninstall": "rm -rf build/*"
2324
, "test" : "node-waf test"
2425
, "doc" : "node-waf doc"

0 commit comments

Comments
 (0)