Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

build: support dual-build with node-gyp and node-waf #5

Merged
merged 1 commit into from

3 participants

@TooTallNate

Now newer versions of npm that include node-gyp will use that to build,
and older versions of npm will use node-waf to build.

Win-win!

@TooTallNate TooTallNate build: support dual-build with node-gyp and node-waf
Now newer versions of npm that include node-gyp will use that to build,
and older versions of npm will use node-waf to build.

Win-win!
80054db
@mharsch

+1

@mharsch

remove trailing comma from "main" line.

@davepacheco davepacheco merged commit 7af99dd into from
@davepacheco
Collaborator

Rubber-stamping, since we're not on master anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 22, 2012
  1. @TooTallNate

    build: support dual-build with node-gyp and node-waf

    TooTallNate authored
    Now newer versions of npm that include node-gyp will use that to build,
    and older versions of npm will use node-waf to build.
    
    Win-win!
This page is out of date. Refresh to see the latest.
Showing with 11 additions and 3 deletions.
  1. +11 −0 binding.gyp
  2. +0 −3  package.json
View
11 binding.gyp
@@ -0,0 +1,11 @@
+{
+ 'targets': [
+ {
+ 'target_name': 'kstat',
+ 'sources': [ 'kstat.cc' ],
+ 'libraries': [ '-lkstat' ],
+ 'cflags_cc': [ '-Wno-write-strings' ],
+ 'cflags_cc!': [ '-fno-exceptions' ],
+ }
+ ]
+}
View
3  package.json
@@ -6,7 +6,4 @@
"author": "Joyent (joyent.com)",
"engines": { "node": ">=0.6" },
"main": "build/Release/kstat",
- "scripts": {
- "install": "node-waf configure build"
- }
}
Something went wrong with that request. Please try again.