Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (21 sloc) 0.501 kb
BUILDTYPE ?= Release
ifeq (${BUILDTYPE},Debug)
GYP_BUILD_TYPE = --d
else
GYP_BUILD_TYPE = --r
BUILDTYPE = Release
endif
TARGET = build/${BUILDTYPE}/mappedbuffer.node
all: $(TARGET)
$(TARGET): src/mappedbuffer.cc
node-gyp rebuild ${GYP_BUILD_TYPE}
clean:
node-gyp clean
rm -rf build
distclean: clean
rm -rf node_modules
node_modules: package.json
npm install
test: node_modules $(TARGET)
./node_modules/.bin/mocha --reporter spec test/*.js
.PHONY: test node_modules distclean clean all
Jump to Line
Something went wrong with that request. Please try again.