From 37f74e5a4d92909819d9666b7d51e3f52bdb100f Mon Sep 17 00:00:00 2001 From: mgmorcos Date: Thu, 19 Sep 2013 02:54:15 -0700 Subject: [PATCH 1/4] Supports hands-off compilation via npm --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e55d74acc3..c92deaee35 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "ncp": "~0.4.2" }, "scripts": { - "install": "node install.js", + "install": "node gen.js && node install.js", "test": "cd test && nodeunit nodegit.js", "gen": "node gen.js" } From 537a1029c0869425b3c71ed9450f7c185118e9fc Mon Sep 17 00:00:00 2001 From: Mark Morcos Date: Mon, 23 Sep 2013 14:20:01 -0700 Subject: [PATCH 2/4] Workaround to build on stage --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c92deaee35..d2eaf44549 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "ncp": "~0.4.2" }, "scripts": { - "install": "node gen.js && node install.js", + "install": "brew install python && brew install cmake && node gen.js && node install.js", "test": "cd test && nodeunit nodegit.js", "gen": "node gen.js" } From 5406b71564ac77c55e4f3fada1ff71060d44a537 Mon Sep 17 00:00:00 2001 From: Mark Morcos Date: Mon, 23 Sep 2013 14:26:54 -0700 Subject: [PATCH 3/4] Tries to find python and cmake with apt-get instead of brew --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d2eaf44549..aad5434aef 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "ncp": "~0.4.2" }, "scripts": { - "install": "brew install python && brew install cmake && node gen.js && node install.js", + "install": "apt-get install python && apt-get install cmake && node gen.js && node install.js", "test": "cd test && nodeunit nodegit.js", "gen": "node gen.js" } From 798e1cb75299351d0799e7df0d26172ece88d3be Mon Sep 17 00:00:00 2001 From: Mark Morcos Date: Fri, 8 Nov 2013 15:14:05 -0800 Subject: [PATCH 4/4] Assumes cmake and py are already available --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index aad5434aef..c92deaee35 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "ncp": "~0.4.2" }, "scripts": { - "install": "apt-get install python && apt-get install cmake && node gen.js && node install.js", + "install": "node gen.js && node install.js", "test": "cd test && nodeunit nodegit.js", "gen": "node gen.js" }