Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (22 sloc) 703 Bytes
import Options
from os import unlink, link
from os.path import exists
APPNAME = 'zeromq.node'
VERSION = "0.0.1"
def set_options(opt):
def configure(conf):
def build(bld):
obj = bld.new_task_gen("cxx", "shlib", "node_addon")
obj.cxxflags = ["-Wall", "-Werror"] = "binding"
obj.source = ""
obj.lib = ["zmq"]
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']:
link('./build/default/binding.node', './binding.node')
Something went wrong with that request. Please try again.