Skip to content

Instantly share code, notes, and snippets.

@tbranyen
Created May 2, 2014 03:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbranyen/29554b4be00869802670 to your computer and use it in GitHub Desktop.
Save tbranyen/29554b4be00869802670 to your computer and use it in GitHub Desktop.
Win64 NodeGit Hell Yea!
> nodegit@0.1.1 install C:\Users\Tim\git\nodegit
> node install.js
[nodegit] Determining dependencies.
[nodegit] Removing vendor/libgit2.
[nodegit] Fetching vendor/libgit2.
[nodegit] Creating vendor/libgit2/build.
[nodegit] Configuring libgit2.
[nodegit] Building libgit2.
[nodegit] Configuring native node module.
[nodegit] Building native node module.
[nodegit] Completed installation successfully.
C:\Users\Tim\git\nodegit>npm test
> nodegit@0.1.1 test C:\Users\Tim\git\nodegit
> cd test && nodeunit nodegit.js
nodegit.js
✔ blob - content
✔ difflist - walkingDiffs
✔ oid - fromStringAndSha
✔ repo - openInvalidRepo
✔ repo - openValidRepo
✔ repo - nonexistentDirectory
✔ repo - init
✔ tree_entry - missingFile
✔ tree_entry - sha
✔ tree_entry - isFile
✔ tree_entry - isDirectory
✔ tree_entry - name
✔ tree_entry - getBlob
✔ tree_entry - getTree
✔ commit - message
✔ commit - sha
✔ commit - time
✔ commit - date
✔ commit - offset
✔ commit - author
✔ commit - authorName
✔ commit - authorEmail
✔ commit - committerName
✔ commit - committerEmail
✔ commit - improperCommitId
✔ commit - history
✔ commit - masterHead
✔ commit - parents
✔ commit - tree
✔ commit - getDiff
✔ reference - lookup
✔ tree - walk
✔ tree - insert
OK: 579 assertions (13943ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment