Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

remove waf support #187

Merged
merged 1 commit into from

2 participants

@mscdex

we are already requiring node >= 0.7.9, no sense in keep wscript around

@mscdex mscdex remove waf support
we are already requiring node >= 0.7.9, no sense in keep wscript around
ba0b12e
@ronkorving
Collaborator

Makes total sense, thanks.

@ronkorving ronkorving merged commit 66b8116 into JustinTulloss:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 8, 2013
  1. @mscdex

    remove waf support

    mscdex authored
    we are already requiring node >= 0.7.9, no sense in keep wscript around
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 37 deletions.
  1. +1 −1  Makefile
  2. +0 −36 wscript
View
2  Makefile
@@ -20,6 +20,6 @@ docclean:
rm -fr docs/index.{json,html}
distclean:
- node-waf distclean
+ node-gyp clean
.PHONY: clean distclean test docs docclean
View
36 wscript
@@ -1,36 +0,0 @@
-import Options
-from os import unlink, link
-from os.path import exists
-
-APPNAME = 'zeromq.node'
-VERSION = "1.0.0"
-
-def set_options(opt):
- opt.tool_options("compiler_cxx")
-
-def configure(conf):
- conf.check_tool("compiler_cxx")
- conf.check_tool("node_addon")
- conf.check_cfg(atleast_pkgconfig_version='0.0.0', mandatory=True, errmsg='pkg-config was not found')
- conf.check_cfg(package='libzmq', atleast_version='2.1.0', uselib_store='ZMQ', args='--cflags --libs', mandatory=True, errmsg='Package libzmq was not found')
- conf.check(lib='uuid', uselib_store='UUID')
-
-def build(bld):
- obj = bld.new_task_gen("cxx", "shlib", "node_addon")
- obj.target = "binding"
- obj.source = "binding.cc"
- obj.uselib = "ZMQ UUID"
-
-def shutdown():
- # HACK to get binding.node out of build directory.
- # better way to do this?
- if exists('./binding.node'):
- unlink('./binding.node')
- if Options.commands['build']:
- if exists('./build/default/binding.node'):
- link('./build/default/binding.node', './binding.node')
- elif exists('./build/Release/binding.node'):
- link('./build/Release/binding.node', './binding.node')
- else:
- raise Exception("Cannot locate build binding.node")
-
Something went wrong with that request. Please try again.