Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #5 from TooTallNate/gyp

build: support dual-build with node-gyp and node-waf
  • Loading branch information...
commit 7af99dd53091ffe9f79958b87d59f40626eec760 2 parents 7c6ce0c + 80054db
David Pacheco authored April 03, 2013

Showing 2 changed files with 11 additions and 3 deletions. Show diff stats Hide diff stats

  1. 11  binding.gyp
  2. 3  package.json
11  binding.gyp
... ...
@@ -0,0 +1,11 @@
  1
+{
  2
+  'targets': [
  3
+    {
  4
+      'target_name': 'kstat',
  5
+      'sources': [ 'kstat.cc' ],
  6
+      'libraries': [ '-lkstat' ],
  7
+      'cflags_cc': [ '-Wno-write-strings' ],
  8
+      'cflags_cc!': [ '-fno-exceptions' ],
  9
+    }
  10
+  ]
  11
+}
3  package.json
@@ -6,7 +6,4 @@
6 6
 	"author":	"Joyent (joyent.com)",
7 7
 	"engines":	{ "node": ">=0.6" },
8 8
 	"main":		"build/Release/kstat",
9  
-	"scripts": {
10  
-	    "install": "node-waf configure build"
11  
-	}
12 9
 }

2 notes on commit 7af99dd

Mike Harsch

Need to remove the dangling comma in package.json

David Pacheco
Collaborator

Sorry. That'll teach me to rubber-stamp. I tested that I can install this package with node v0.8.22, I've bumped the version, and published 0.4.0 to npm.

Please sign in to comment.
Something went wrong with that request. Please try again.