You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
If you encounter problems while installing, you should try the Building from source instructions below.
61
+
If you encounter problems while installing, you should try the Building from
62
+
source instructions below.
49
63
50
64
##Building from source. ##
51
65
52
-
Minimum dependencies:
53
-
54
-
-[Python 2](https://www.python.org/)
55
-
56
66
If you wish to help contribute to NodeGit it is useful to build locally.
57
67
58
68
```bash
@@ -68,18 +78,6 @@ npm install
68
78
69
79
If you encounter errors, you most likely have not configured the dependencies correctly.
70
80
71
-
###Debug build
72
-
73
-
In order to track down possible bugs, you will need a debug buid so you
74
-
can get a backtrace with[gdb](http://www.gnu.org/software/gdb/) or
75
-
[lldb](http://lldb.llvm.org/).
76
-
77
-
If you're building for the first time, run`npm run installDebug` (or`BUILD_ONLY=true npm link`)
78
-
79
-
Note that you should run`rm -rf build/Release` (or`rd /s /q build/Release` in Windows) to make sure a release build doesn't get loaded instead of the debug build.
80
-
81
-
If you're doing a subsequent rebuild of NodeGit in debug, the clean function will cause a lot of extraneous recompilation of things you probably didn't change (like the vendor dependencies). If you need to regenerate the C++ files and recompile you can run`npm run rebuildDebug`, or`npm run recompileDebug` if you've manually updated the C++ files and don't want them to regenerate.
82
-
83
81
###Installing dependencies: ###
84
82
85
83
####Mac OS X ####
@@ -127,6 +125,18 @@ So for the above example, you would run `cmd /C "set BUILD_ONLY=true && npm inst
In order to track down possible bugs, you will need a debug buid so you
131
+
can get a backtrace with[gdb](http://www.gnu.org/software/gdb/) or
132
+
[lldb](http://lldb.llvm.org/).
133
+
134
+
If you're building for the first time, run`npm run installDebug` (or`BUILD_ONLY=true npm link`)
135
+
136
+
Note that you should run`rm -rf build/Release` (or`rd /s /q build/Release` in Windows) to make sure a release build doesn't get loaded instead of the debug build.
137
+
138
+
If you're doing a subsequent rebuild of NodeGit in debug, the clean function will cause a lot of extraneous recompilation of things you probably didn't change (like the vendor dependencies). If you need to regenerate the C++ files and recompile you can run`npm run rebuildDebug`, or`npm run recompileDebug` if you've manually updated the C++ files and don't want them to regenerate.