Skip to content

Commit 142c05a

Browse files
author
Etienne Laurin
committed
Merge remote-tracking branch 'origin/windows' into windows3
2 parents e1071b5 + e1f70aa commit 142c05a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

build.mk

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ js-dependencies: $(JS_PKG_DIR)/node_modules
5858

5959
BLUEBIRD_MODULE_DIR := $(SUPPORT_BUILD_DIR)/bluebird_$(bluebird_VERSION)/node_modules/packed-bluebird/node_modules/bluebird
6060

61-
$(BLUEBIRD_MODULE_DIR): $(SUPPORT_BUILD_DIR)/bluebird_$(bluebird_VERSION)/install.witness
61+
$(BLUEBIRD_MODULE_DIR): $(SUPPORT_BUILD_DIR)/bluebird_$(bluebird_VERSION)/$(INSTALL_WITNESS)
6262
touch $@
6363

6464
$(JS_PKG_DIR)/node_modules: $(BLUEBIRD_MODULE_DIR) $(JS_PKG_DIR) | $(NPM_BIN_DEP)
@@ -69,8 +69,13 @@ $(JS_PKG_DIR)/node_modules: $(BLUEBIRD_MODULE_DIR) $(JS_PKG_DIR) | $(NPM_BIN_DEP
6969

7070
$(JS_BUILD_DIR)/rethinkdb.js: $(JS_PKG_DIR) $(JS_PKG_DIR)/node_modules | $(BROWSERIFY_BIN_DEP)
7171
$P BROWSERIFY
72+
ifeq (Windows, $(OS))
73+
cd $(JS_PKG_DIR) && \
74+
$(abspath $(BROWSERIFY)) --require ./rethinkdb:rethinkdb --ignore tls --outfile "$(shell cygpath -w "$(abspath $@)")"
75+
else
7276
cd $(JS_PKG_DIR) && \
7377
$(abspath $(BROWSERIFY)) --require ./rethinkdb:rethinkdb --ignore tls --outfile $(abspath $@)
78+
endif
7479

7580
.PHONY: js-driver
7681
js-driver: $(JS_BUILD_DIR)/rethinkdb.js

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{ "name" : "rethinkdb"
2-
, "version" : "2.3.0"
2+
, "version" : "2.3.1"
33
, "main" : "rethinkdb"
44
, "description" : "This package provides the JavaScript driver library for the RethinkDB database server for use in your node application."
55
, "keywords" : ["database", "NoSQL", "reql", "query language"]

0 commit comments

Comments
 (0)