From ef944519d5f1e64251870e37a60c5206400659a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20HUBSCHER?= Date: Tue, 9 Sep 2014 17:56:45 +0200 Subject: [PATCH] Set port to 0 for random choice. --- Makefile | 4 ++-- config/test.json | 2 +- package.json | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b0f15a8..b7bc3b1 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ install: .PHONY: lint lint: - @grunt lint + @$(NODE_LOCAL_BIN)/grunt lint clean: rm -rf .venv node_modules coverage lib-cov html-report @@ -33,7 +33,7 @@ cover-mocha: .PHONY: eslint eslint: - @grunt eslint + @$(NODE_LOCAL_BIN)/grunt eslint .PHONY: mocha mocha: diff --git a/config/test.json b/config/test.json index 6a599d1..4dd0bc5 100644 --- a/config/test.json +++ b/config/test.json @@ -1,6 +1,6 @@ { "host": "localhost", - "port": 54321, + "port": 0, "storage": { "engine": "redis", "settings": { diff --git a/package.json b/package.json index 4f2cdaf..1541f39 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "devDependencies": { "chai": "1.9.x", "grunt": "0.4.5", + "grunt-cli": "0.1.13", "grunt-copyright": "0.1.0", "grunt-eslint": "1.0.0", "grunt-jsonlint": "1.0.4",