Skip to content
Browse files

makefile install-dependencies

  • Loading branch information...
1 parent 18a0a10 commit 5712ffe5037d90b5c9918d1959f730f79c0303df @lancejpollard lancejpollard committed Sep 27, 2012
Showing with 12 additions and 1 deletion.
  1. +11 −0 Makefile
  2. +1 −1 wiki
View
11 Makefile
@@ -4,6 +4,10 @@ CMD = ./node_modules/mocha/bin/mocha
DIR = $(shell pwd)
GRUNT = grunt
FOREVER = forever
+PATH_SEP = $(shell node -e "console.log(require('path').sep)")
+# darwin (mac), linux, win32 (windows)
+OS = $(shell node -e "console.log(require('os').platform())")
+DEPENDENCIES = bin$(PATH_SEP)dependencies
PORT = 3210
TEST_URL = http://localhost:$(PORT)/?test=support,application,store,model
CLIENT_PID = null
@@ -36,6 +40,13 @@ ifeq ($(shell which phantomjs),) # if it's blank
$(error PhantomJS is not installed. Download from http://phantomjs.org or run `brew install phantomjs` if you have Homebrew)
endif
+install-dependencies:
+ifeq (win32,$(OS))
+ $(shell $(DEPENDENCIES))
+else
+ $(shell $(DEPENDENCIES))
+endif
+
test: test-server test-client
test-server: test-memory test-mongodb
2 wiki
@@ -1 +1 @@
-Subproject commit af2432eedab7b7a134512df7b5e96b11b204a9d1
+Subproject commit 526fd4f2a2575088e5626284e7ca125643c8b01f

0 comments on commit 5712ffe

Please sign in to comment.
Something went wrong with that request. Please try again.