From 37be1eea74bc39aaee436daa883b542f8a59e922 Mon Sep 17 00:00:00 2001 From: Tim Branyen Date: Fri, 2 May 2014 00:23:17 -0400 Subject: [PATCH 1/3] Updates to README. --- README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e9affb8fc..6ee58cc9b 100644 --- a/README.md +++ b/README.md @@ -73,17 +73,16 @@ sudo pacman -S cmake libzip base-devel #### Windows #### -For Windows users, you will have to install Visual Studio Express. You may -have to add a build flag to the installation process to successfully install. -Try first without, if the build fails, try again with the flag. +- [Download and install CMake](http://www.cmake.org/cmake/resources/software.html). +- [Download and install Python](https://www.python.org/download/windows). +- [Download and install VS Express](http://www.visualstudio.com/downloads/download-visual-studio-vs#d-express-windows-desktop). + +You may have to add a build flag to the installation process to successfully +install. Try first without, if the build fails, try again with the flag. *Allegedly the order in which you install Visual Studio could trigger this error.* -- [Download and install CMake](http://www.cmake.org/cmake/resources/software.html). -- [Download and install Python](https://www.python.org/download/windows) -- [Download and install VS Express](http://www.visualstudio.com/downloads/download-visual-studio-vs#d-express-windows-desktop) - ``` bash npm install nodegit --msvs_version=2013 # Or whatever version you've installed. From 7a3700e4bc507339924b3768489a7edfdfbd5082 Mon Sep 17 00:00:00 2001 From: Tim Branyen Date: Fri, 2 May 2014 15:58:19 -0400 Subject: [PATCH 2/3] Fix erroneous OS detection for installation in OS X. --- install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.js b/install.js index 5c987f5fb..8f86df1e0 100644 --- a/install.js +++ b/install.js @@ -129,7 +129,7 @@ var dependencies = Q.allSettled([ var flags = ['-DTHREADSAFE=ON', '-DBUILD_CLAR=OFF']; // Windows flags. - if (process.platform.indexOf('win') > -1) { + if (process.platform === 'win32') { flags.push.apply(flags, [ '-DSTDCALL=OFF', '-DBUILD_SHARED_LIBS=OFF', From c3e4be4448d2a99917431d3be972ca262805f989 Mon Sep 17 00:00:00 2001 From: Tim Branyen Date: Fri, 2 May 2014 16:02:24 -0400 Subject: [PATCH 3/3] Version bump to 0.1.3, following hotfix. --- README.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6ee58cc9b..ae7ba817b 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ NodeGit Status](https://travis-ci.org/tbranyen/nodegit.png)](https://travis-ci.org/nodegit/nodegit) Build Status: Windows -**Stable: 0.1.2** +**Stable: 0.1.3** Maintained by Tim Branyen [@tbranyen](http://twitter.com/tbranyen), Michael Robinson [@codeofinterest](http://twitter.com/codeofinterest), and Nick Kallen diff --git a/package.json b/package.json index 94687fa4e..f86aa0e0b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nodegit", "description": "Node.js libgit2 asynchronous native bindings", - "version": "0.1.2", + "version": "0.1.3", "libgit2": "e953c1606d0d7aea680c9b19db0b955b34ae63c2", "homepage": "https://github.com/tbranyen/nodegit", "keywords": [