FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

package fixes · nodegit/nodegit@3e2e29e · GitHub

Repository navigation

Commit 3e2e29e

Browse files
committed
package fixes
1 parent 1078f6b commit 3e2e29e

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ API Example Usage
4040
### Convenience API ###
4141
__ Reading a repository and commit data: __
4242

43-
var git = require( 'git' );
43+
var git = require( 'nodegit' );
4444

4545
// Read the current repository
4646
git.repo( '.git', function( err, path, repo ) {
@@ -64,7 +64,7 @@ __ Reading a repository and commit data: __
6464
### Raw API ###
6565
__ Accomplishing the same thing as above: __
6666

67-
var git = require( 'git' ).raw;
67+
var git = require( 'nodegit' ).raw;
6868

6969
// Create instance of Repo constructor
7070
var repo = new git.Repo();

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "nodegit",
33
"description": "NodeJS libgit2 asynchronous native bindings",
4-
"version": "0.0.1",
4+
"version": "0.0.0",
55
"homepage": "https://github.com/tbranyen/nodegit",
66
"author": "Tim Branyen <tim@tabdeveloper.com> (http://twitter.com/tbranyen)",
77
"main": "./lib/index.js",
@@ -21,6 +21,6 @@
2121
},
2222
"scripts": {
2323
"preinstall": "./configure",
24-
"install": "make && make install"
24+
"install": "make"
2525
}
2626
}

‎wscript‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ def build(bld):
2828
try: os.chdir('vendor/libgit2')
2929
except: pass
3030
Popen('python waf build-shared', shell=True).wait()
31+
32+
os.chdir('../../')
3133

3234
obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')
3335
obj.target = 'git'

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL